public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
From: Alexandre Oliva <oliva@lsd.ic.unicamp.br>
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	[thread overview]
Message-ID: <or7lgsk0b4.fsf@garnize.lsd.ic.unicamp.br> (raw)
Message-ID: <20000401000000.Oe7xBjkRbAcS0tzR3n1VrOeFEAV9K34Cs4ezcy1bRqw@z> (raw)
In-Reply-To: <Pine.LNX.4.10.10001281549220.6749-100000@dftiger>

On Jan 28, 2000, Ari Inki <Ari.Inki@iki.fi> 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

  reply	other threads:[~2000-04-01  0:00 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-01-28  6:14 Ari Inki
2000-01-29 13:58 ` Alexandre Oliva [this message]
2000-04-01  0:00   ` Alexandre Oliva
2000-04-01  0:00 ` Ari Inki

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=or7lgsk0b4.fsf@garnize.lsd.ic.unicamp.br \
    --to=oliva@lsd.ic.unicamp.br \
    --cc=Ari.Inki@iki.fi \
    --cc=gcc-help@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).