public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
From: aoliva@redhat.com
To: "Nathaniel Mallet" <Nathaniel.Mallet@home.com>
Cc: <gcc-help@gcc.gnu.org>
Subject: Re: gcc default library location
Date: Thu, 02 Aug 2001 10:59:00 -0000	[thread overview]
Message-ID: <orlml21i4v.fsf@feijoada.lsd.ic.unicamp.br> (raw)
In-Reply-To: <000901c11afd$c0a06630$4dd32b18@cr829637a>

On Aug  1, 2001, "Nathaniel Mallet" <Nathaniel.Mallet@home.com> wrote:

>     gcc -o hw main.o

> I get a series of unresolved symbols found in
> /usr/local/lib/ld.so.6.

Add -v to the command line and you'll see that GCC passes a command
line option to the linker that tells it which ld.so to use as the
program interpreter.  You'll have to override this in the command
line.

-- 
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

      reply	other threads:[~2001-08-02 10:59 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-08-01  3:56 Nathaniel Mallet
2001-08-01  5:38 ` Alexandre Oliva
2001-08-01 19:55   ` Nathaniel Mallet
2001-08-02 10:59     ` aoliva [this message]

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=orlml21i4v.fsf@feijoada.lsd.ic.unicamp.br \
    --to=aoliva@redhat.com \
    --cc=Nathaniel.Mallet@home.com \
    --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).