packman and porting new applications

21 views
Skip to first unread message

Matthew Willis

unread,
Jul 29, 2009, 6:54:07 AM7/29/09
to minix3
I'd like to help port applications to minix (git and ratpoison are on
my list). I have a few questions:

1) How are the packman packages created? Is there a makefile for
each package that is available somewhere?

2) Is there an alternate source packages system like FreeBSD ports,
or one in the works?

3) Is there any information available about porting to minix,
possibly documenting previous efforts?

4) Are the packman packages built with minix's cc or gcc?

I'm enjoying my minix experience quite a bit. Thanks everyone!

Matt

Debjit Biswas

unread,
Jul 30, 2009, 3:04:48 AM7/30/09
to minix3
Have a look at these links, they will help you get started with
porting...

http://wiki.minix3.org/en/DevelopersGuide/PortingGuide

http://wiki.minix3.org/en/DevelopersGuide/MakingPackmanPackage

Regards,
Debjit

rasha

unread,
Aug 3, 2009, 6:08:44 PM8/3/09
to minix3

Hi all;

I'm currently looking at dwm (window manager) and possibility of
compiling it in minix. I'm slightly confused about the
tools in minix3. It would be good to have some guidelines (maybe they
are in the book but I just didn't get there yet?)
about the tools?

Right now the standard compiler (cc) complains about not having _main
defined in the code (why _main? am I missing something here?)
and /usr/gnu/bin/gcc seems to be missing gnu linker (ld). I can't seem
to find a way to get ld installed (it's not on my disk, and I believe
there
is no package that contains it?)

So which linker should we be using? Or better point me to some ref.
for the toolchain?

thanks!
ranko

On Jul 30, 3:04 am, Debjit Biswas <debjitbi...@gmail.com> wrote:
> Have a look at these links, they will help you get started withporting...
>
> http://wiki.minix3.org/en/DevelopersGuide/PortingGuide
>
> http://wiki.minix3.org/en/DevelopersGuide/MakingPackmanPackage
>
> Regards,
> Debjit
>
> On Jul 29, 3:54 pm, Matthew Willis <tinmanmo...@gmail.com> wrote:
>
> > I'd like to help port applications to minix (git and ratpoison are on
> > my list).  I have a few questions:
>
> > 1)  How are the packman packages created?  Is there a makefile for
> > each package that is available somewhere?
>
> > 2)  Is there an alternate source packages system like FreeBSD ports,
> > or one in the works?
>
> > 3)  Is there any information available aboutportingto minix,

Evgeniy Ivanov

unread,
Aug 3, 2009, 7:50:09 PM8/3/09
to min...@googlegroups.com
Hello,

On Tue, Aug 4, 2009 at 2:08 AM, rasha <sur...@gmail.com> wrote:


Hi all;

I'm currently looking at dwm (window manager) and possibility of
compiling it in minix. I'm slightly confused about the
tools in minix3. It would be good to have some guidelines (maybe they
are in the book but I just didn't get there yet?)
about the tools?

Best guidelines is Minix3 wiki: http://wiki.minix3.org
 
Right now the standard compiler (cc) complains about not having _main
defined in the code (why _main? am I missing something here?)
and /usr/gnu/bin/gcc seems to be missing gnu linker (ld). I can't seem
to find a way to get ld installed (it's not on my disk, and I believe
there
is no package that contains it?)

So which linker should we be using? Or better point me to some ref.
for the toolchain?

Please, check Part 2 of http://wiki.minix3.org/en/UsersGuide 



--
Best Regards,
Evgeniy

Tomas Hruby

unread,
Aug 4, 2009, 2:56:21 AM8/4/09
to min...@googlegroups.com
> Right now the standard compiler (cc) complains about not having _main
> defined in the code (why _main? am I missing something here?)

cc prepends all symbols with '_' (and the Minix's gcc as well) to
_main means the main() function in the source code.

> and /usr/gnu/bin/gcc seems to be missing gnu linker (ld). I can't seem
> to find a way to get ld installed (it's not on my disk, and I believe
> there
> is no package that contains it?)

all GNU stuff has a 'g' prefix (as well as on solaris, FreeBSD, etc.)
so the GNU ld is called gld. If ld is hardwired in the Makefiles, you
got to change it.


HTH, T.

Reply all
Reply to author
Forward
0 new messages