Subject: Re: Dynamic linking is go (again)
To: Izumi Tsutsui <tsutsui@ceres.dti.ne.jp>
From: Marcus Comstedt <marcus@mc.pp.se>
List: port-dreamcast
Date: 07/05/2003 03:14:24
Izumi Tsutsui <tsutsui@ceres.dti.ne.jp> writes:

> Ok, I found the problem. We have to pass "-e __start" to gcc(1)
> on linking binaries if "-nostdlib" is specified.
> (I don't know how this should be handled, though)

The -nostdlib comes from bsd.prog.mk, right?  Does it choose the wrong
crt*.o, or put the objects in the wrong order or something perhaps?
If -nostdlib is specified, all crt objects must be added manually, and
this makefile might not be updated to work with gcc3...


> Now my DC works on multiuser with fully dynamic linked userland ;-)

Way cool!


  // Marcus