Changing Default Linking options...
Alexandre Oliva
oliva@dcc.unicamp.br
Sat Jun 12 22:41:00 GMT 1999
On Jun 12, 1999, Sean R Melody <srm765@merle.acns.nwu.edu> wrote:
> On 12 Jun 1999, Alexandre Oliva wrote:
>> search for libstdc++ in the directories that appear after -L
>> options. Make sure the libstdc++ links in
>> /usr/lib/gcc-lib/i386-redhat-linux/egcs-2.91.66 are correct.
> Both the static and dynamic version are soft links to the /usr/lib
> libraries.
> /usr/bin/ld -m elf_i386 -dynamic-linker /lib/ld-linux.so.2 /usr/lib/crt1.o
> /usr/lib/crti.o /usr/lib/gcc-lib/i386-redhat-linux/egcs-2.91.66/crtbegin.o
> -L/usr/local/qt/lib -L/usr/local/kde/lib -L/usr/local/lib
> -L/usr/local/rvplayer -L/usr/local/qt/lib -L/usr/local/lib
> -L/usr/local/rvplayer -L/usr/lib/gcc-lib/i386-redhat-linux/egcs-2.91.66
> -L/usr/i386-redhat-linux/lib -v /tmp/cc38JZoP.o -lstdc++ -lm
> -lgcc -lc -lgcc /usr/lib/gcc-lib/i386-redhat-linux/egcs-2.91.66/crtend.o
> /usr/lib/crtn.o
Now go look for libstdc++* in any of the directories that appear after
-L in this list.
--
Alexandre Oliva http://www.dcc.unicamp.br/~oliva IC-Unicamp, Bra[sz]il
{oliva,Alexandre.Oliva}@dcc.unicamp.br aoliva@{acm.org,computer.org}
oliva@{gnu.org,kaffe.org,{egcs,sourceware}.cygnus.com,samba.org}
*** E-mail about software projects will be forwarded to mailing lists
More information about the Gcc
mailing list