From: Ian Lance Taylor <iant@google.com>
To: "Klaus Rudolph" <lts-rudolph@gmx.de>
Cc: Axel Freyn <axel-freyn@gmx.de>, gcc-help@gcc.gnu.org
Subject: Re: can't run gcc 4.5.3/4.6.0 under ubuntu 11.04
Date: Thu, 19 May 2011 00:26:00 -0000 [thread overview]
Message-ID: <mcrsjsbr1mt.fsf@coign.corp.google.com> (raw)
In-Reply-To: <20110518100445.25120@gmx.net> (Klaus Rudolph's message of "Wed, 18 May 2011 12:04:45 +0200")
"Klaus Rudolph" <lts-rudolph@gmx.de> writes:
> Axel Freyn wrote:
>> Did you install the development packages? that is, the ubuntu-package
>> libc6-dev?
>> If not, the compiler is right :)
>> If yes -- could you post where on your ѕystem libc.so and libm.so really
>> exist?
>>
>
> the packages are installed and running the gcc/g++ compiler which comes with ubuntu runs fine.
>
> The libs could be found:
>
> krud@mauersegler:~$ ls -lsa /usr/lib/i386-linux-gnu/libc.so
> 4 -rw-r--r-- 1 root root 283 2011-04-11 13:03 /usr/lib/i386-linux-gnu/libc.so
> krud@mauersegler:~$ ls -lsa /lib/i386-linux-gnu/libc.so.6
> 0 lrwxrwxrwx 1 root root 12 2011-05-17 14:27 /lib/i386-linux-gnu/libc.so.6 -> libc-2.13.so
> krud@mauersegler:~/test/c++/compile_ubuntu_11.04$ ls -lsa /lib/i386-linux-gnu/libc-2.13.so
> 1404 -rwxr-xr-x 1 root root 1434180 2011-04-11 13:08 /lib/i386-linux-gnu/libc-2.13.s
>
> The xgcc is not looking inside /usr/lib/i386-linux-gnu ...
>
> Is there a trick to setup the compiler build (configure??, environment flags) with some additional lib path infos to give xgcc a chance to find the libs?
This is interesting and somewhat annoying. I hope the Ubuntu developers
who chose to move these packages will be willing to share patches with
gcc so that gcc works by default.
It may work if you pass --build=i386-linux-gnu when you configure gcc.
Ian
next prev parent reply other threads:[~2011-05-19 0:11 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-05-18 10:23 Klaus Rudolph
2011-05-19 0:26 ` Ian Lance Taylor [this message]
2011-05-19 4:48 ` Jeffrey Walton
-- strict thread matches above, loose matches on Subject: below --
2011-05-18 8:22 Klaus Rudolph
2011-05-18 9:06 ` Axel Freyn
2011-05-18 9:43 ` Marc Glisse
2011-05-18 10:20 ` Klaus Rudolph
2011-05-18 10:41 ` Marc Glisse
2011-05-18 12:18 ` Klaus Rudolph
2011-05-18 13:25 ` Marc Glisse
2011-05-19 7:59 ` Klaus Rudolph
2011-05-19 10:39 ` Kai Ruottu
2011-05-18 9:53 ` Jonathan Wakely
2011-05-18 10:05 ` Klaus Rudolph
2011-05-18 20:52 ` kevin diggs
2011-05-19 0:11 ` 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=mcrsjsbr1mt.fsf@coign.corp.google.com \
--to=iant@google.com \
--cc=axel-freyn@gmx.de \
--cc=gcc-help@gcc.gnu.org \
--cc=lts-rudolph@gmx.de \
/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).