Missing gnu/stub-32.h and more with GCC 4.7.0 on Ubuntu 12.04

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

 



Hi,

I'm having trouble building gcc 4.7.0 on 32-bit Ubuntu 12.04. I configure with:

../gcc-4.7.0/configure --enable-languages=c,c++,fortran --prefix=$HOME/apps/gcc-4.7.0 --program-suffix=-4.7

and the compile with "make". After some time, I receive an error indicating that gnu/stub-32.h cannot be found. I do have this file, so I try:

make  CFLAGS=-I/usr/include/i386-linux-gnu

and now receive errors from a similar build stage:

checking for C compiler default output file name...
configure: error: in `/home/paul/code/gcc-4.7/build/gcc':
configure: error: C compiler cannot create executables

If I cd into the gcc directory and investigate, it seems like a simple compilation, using the existing gcc 4.6, is failing on a simple task due to the presence of a file called specs.

I've tried a few other things, such as unsetting LIBRARY_PATH; and I've also installed g++multilib, but with no luck. Can anyone make a suggestion?

Thanks,
Paul

The University of Glasgow, charity number SC004401



[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