public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
From: Kai Ruottu <kai.ruottu@wippies.com>
To: percepticon@gmail.com
Cc: gcc-help@gcc.gnu.org
Subject: Re: Newbie new to the list
Date: Fri, 18 Feb 2011 07:11:00 -0000	[thread overview]
Message-ID: <4D5E136B.6070204@wippies.com> (raw)
In-Reply-To: <1553042347-1297994605-cardhu_decombobulator_blackberry.rim.net-499915399-@bda198.bisx.prod.on.blackberry>

18.2.2011 4:03, [p e r c e p t i c o n] kirjoitti:

> I have this error:
>
> /usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../lib64/crt1.o: In function `_start
>
> In my case I'm trying to build a 32bit shared object. I have -shared and -fPIC
> set even -m32
>
> Can someone share with me how to tell gcc to use my lib32 directory instead of lib64
> which it seems to default to?

The 32-bit startups (like 'crt1.o'), libraries and headers aren't
usually installed as default with the "program tools", one must
install these specifically. This happens with "System/Administration"
and there "Add/remove applications" or something in the GUI of an
uptodate Red Hat system...

  reply	other threads:[~2011-02-18  6:36 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-18  2:11 [p e r c e p t i c o n]
2011-02-18  7:11 ` Kai Ruottu [this message]
2011-02-18  9:14 ` Jonathan Wakely
     [not found]   ` <AANLkTimm9x5so-Rj8Do0x10jWXKvDo+Rt74U7Mq7YWNS@mail.gmail.com>
     [not found]     ` <AANLkTi=wmjhdpx=wZqz0U-FGV-Pa-o+qbWb=b=XTzK9w@mail.gmail.com>
2011-02-23 10:19       ` Jonathan Wakely

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=4D5E136B.6070204@wippies.com \
    --to=kai.ruottu@wippies.com \
    --cc=gcc-help@gcc.gnu.org \
    --cc=percepticon@gmail.com \
    /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).