stupid ld tricks
Michael Sterrett -Mr. Bones.-
Wed Jun 21 16:22:00 GMT 2000
On Wed, 21 Jun 2000, H . J . Lu wrote:
> Never call ld directly unless you know what you are doing. Use
> gcc and -Wl,-Bstatic -la -Wl,-Bdynamic:
> # gcc -o app app.o -Wl,-Bstatic -la -Wl,-Bdynamic -lb
Wow, that was fast. Five minute turn around on questions, I'm impressed.
I guess I don't know what I'm doing so I won't call ld ever again. ;-)
The -Wl stuff was what I was missing. Thanks a lot, it's all working now.
More information about the Binutils