using different lib version
Alexandre Oliva
aoliva@redhat.com
Tue Apr 17 14:47:00 GMT 2001
On Apr 17, 2001, Der Herr Hofrat <der.herr@hofr.at> wrote:
> I already once posted the question of how to compile glibc 2.0.7 apps on
> a box running 2.1.X . What I was told is to use -nostdlib and pass the
> path to glibc-2.0.7 with -L and then list all libs explicidly (-lc etc.)
> this works for many apps, but always generates errors durinc copilation
> and in some cases results in apps not working corectly .
Use -nodefaultlibs instead of -nostdlib, so that the crt files get
linked in.
--
Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist *Please* write to mailing lists, not to me
More information about the Gcc-help
mailing list