This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: can't run gcc 4.5.3/4.6.0 under ubuntu 11.04
- From: "Klaus Rudolph" <lts-rudolph at gmx dot de>
- To: Axel Freyn <axel-freyn at gmx dot de>, gcc-help at gcc dot gnu dot org
- Date: Wed, 18 May 2011 12:04:45 +0200
- Subject: Re: can't run gcc 4.5.3/4.6.0 under ubuntu 11.04
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?
Regards
Klaus
--
Ihr GMX Postfach immer dabei: die kostenlose GMX Mail App fÃr Android.
Komfortabel, sicher und schnell: www.gmx.de/android