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?
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.