Re: Error when building GCC 4.7.1 on hppa2.0-unknown-linux-gnu

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 5 July 2012 10:36, Vincent Lefevre <vincent+gcc@xxxxxxxxxx> wrote:
> I wanted to build GCC 4.7.1 with:
>
> $ ~/gcc-4.7.1/configure --prefix=$HOME/sw/gcc-4.7.1 --disable-tls --enable-languages=c --with-gmp=/opt/cfarm/gmp-latest --with-mpfr=/opt/cfarm/mpfr-latest --with-mpc=/opt/cfarm/mpc-latest
>
> but got the following error:
>
> [...]
> checking for hppa2.0-unknown-linux-gnu-gcc... /home/vinc17/gcc-obj/./gcc/xgcc -B/home/vinc17/gcc-obj/./gcc/ -B/home/vinc17/sw/gcc-4.7.1/hppa2.0-unknown-linux-gnu/bin/ -B/home/vinc17/sw/gcc-4.7.1/hppa2.0-unknown-linux-gnu/lib/ -isystem /home/vinc17/sw/gcc-4.7.1/hppa2.0-unknown-linux-gnu/include -isystem /home/vinc17/sw/gcc-4.7.1/hppa2.0-unknown-linux-gnu/sys-include
> checking for suffix of object files... configure: error: in `/home/vinc17/gcc-obj/hppa2.0-unknown-linux-gnu/libgcc':
> configure: error: cannot compute suffix of object files: cannot compile
> See `config.log' for more details.
> make[2]: *** [configure-stage1-target-libgcc] Error 1
> make[2]: Leaving directory `/home/vinc17/gcc-obj'
> make[1]: *** [stage1-bubble] Error 2
> make[1]: Leaving directory `/home/vinc17/gcc-obj'
> make: *** [all] Error 2
>
> The last error in the config.log file is:
>
> configure:3562: checking for suffix of object files
> configure:3584: /home/vinc17/gcc-obj/./gcc/xgcc -B/home/vinc17/gcc-obj/./gcc/ -B/home/vinc17/sw/gcc-4.7.1/hppa2.0-unknown-linux-gnu/bin/ -B/home/vinc17/sw/gcc-4.7.1/hppa2.0-unknown-linux-gnu/lib/ -isystem /home/vinc17/sw/gcc-4.7.1/hppa2.0-unknown-linux-gnu/include -isystem /home/vinc17/sw/gcc-4.7.1/hppa2.0-unknown-linux-gnu/sys-include    -c -g -O2  conftest.c >&5
> /home/vinc17/gcc-obj/./gcc/cc1: error while loading shared libraries: libmpc.so.2: cannot open shared object file: No such file or directory

FAQ!

http://gcc.gnu.org/wiki/FAQ#configure_suffix

Answer:

http://gcc.gnu.org/wiki/InstallingGCC



[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux