Re: Dynamic linking is go (again)
Marcus Comstedt <[email protected]>
| Newsgroups | gmane.os.netbsd.ports.sh3,gmane.os.netbsd.ports.dreamcast |
|---|---|
| Message-ID | <[email protected]> |
Izumi Tsutsui <[email protected]> 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