From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alexandre Oliva To: Ari.Inki@iki.fi Cc: gcc-help@gcc.gnu.org Subject: Re: g++ adds -lstdc++ automatically? Date: Sat, 01 Apr 2000 00:00:00 -0000 Message-ID: References: X-SW-Source: 2000-q1/msg00187.html Message-ID: <20000401000000.Oe7xBjkRbAcS0tzR3n1VrOeFEAV9K34Cs4ezcy1bRqw@z> On Jan 28, 2000, Ari Inki wrote: > it'd seem that g++ feeds -lstdc++ automatically to ld. We're using > egcs-1.1.2 plus a third party stl lib, which never gets used since > -lstdc++ precedes it. -lstdc++ is always added after any user-specified libraries. Just add -ltheotherstl to the linking command. -- Alexandre Oliva http://www.ic.unicamp.br/~oliva IC-Unicamp, Bra[sz]il oliva@{lsd.ic.unicamp.br,guarana.{org,com}} aoliva@{acm,computer}.org oliva@{gnu.org,kaffe.org,{egcs,sourceware}.cygnus.com,samba.org} ** I may forward mail about projects to mailing lists; please use them