stupid ld tricks
Michael Sterrett -Mr. Bones.-
msterret@coat.com
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
>
> H.J.
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.
Later,
Michael Sterrett
-Mr. Bones.-
michael.sterrett@coat.com
More information about the Binutils
mailing list