This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: using different lib version
- To: Der Herr Hofrat <der dot herr at hofr dot at>
- Subject: Re: using different lib version
- From: Alexandre Oliva <aoliva at redhat dot com>
- Date: 17 Apr 2001 18:47:30 -0300
- Cc: gcc-help at gcc dot gnu dot org
- Organization: GCC Team, Red Hat
- References: <200104171305.f3HD5gW18153@kanga.hofr.at>
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