Dynamic linking
J. Johnston
jjohnstn@cygnus.com
Mon Jul 10 12:20:00 GMT 2000
Sébastien Côté wrote:
>
> Hi,
>
> I'd like to know if it's possible to link dynamically with newlib
> because when I compiled newlib, all I got was libc.a and no libc.so.
> Does newlib support dynamic linking ?
>
No, it does not.
> I would also like to know how to tell the linker (ld) to use newlib
> instead of glibc when I link a static executable.
>
Use the -L option to specify the directory where you have the newlib libraries installed.
You likewise want to specify where your low-level support library is located.
-- Jeff J.
More information about the Newlib
mailing list