can't run gcc 4.5.3/4.6.0 under ubuntu 11.04

Klaus Rudolph lts-rudolph@gmx.de
Wed May 18 10:23:00 GMT 2011


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



More information about the Gcc-help mailing list