On Fri, Feb 15, 2013 at 07:16:54AM -0500, Paul Smith wrote: [..] > You should delete this source directory and extract it clean from the > tar file, then you should build GCC in a separate directory, something > like: > > $ rm -rf gcc-4.7.2 > $ tar xjf gcc-4.7.2.tar.bz2 > $ cd gcc-4.7.2 > $ ./contrib/download_prerequisites > $ mkdir ../obj > $ cd ../obj > $ ../gcc-4.7.2/configure ... > $ make -j4 > > (or whatever -j you like) > > If that still doesn't work please re-request help. If I just use the prerequisites it compiles without any issues. However, when I try to compile by adding CLooG to the build process it breaks still exactly in the same way. My configure line is as follows $ ../gcc-4.7.2/configure --prefix=/opt/apps/gcc/4.7.2 --enable-languages=c,c++,fortran --enable-bootstrap --enable-shared --enable-__cxa_atexit --enable-checking=release --with-arch_32=i686 --with-bits=gmp --with-isl=bundled --with-system-zlib --with-tune=generic When I start compiling stage cloog configure fails with same error of being unable to find gmp.h. The error from config.log for CLooG is as follows: configure:12968: checking gmp.h usability configure:12968: gcc -c -g -fkeep-inline-functions conftest.c >&5 conftest.c:60:17: error: gmp.h: No such file or directory CLooG configure from config.log is as follows: /opt/build/BUILD/gcc-4.7.2/cloog/configure --cache-file=./config.cache --with-system-zlib --prefix=/opt/apps/gcc/4.7.2 --enable-bootstrap --enable-shared --enable-__cxa_atexit --enable-checking=release --with-arch_32=i686 --with-bits=gmp --with-isl=bundled --with-system-zlib --with-tune=generic --enable-languages=c,c++,fortran,lto --program-transform-name=s,y,y, --disable-option-checking --build=x86_64-unknown-linux-gnu --host=x86_64-unknown-linux-gnu --target=x86_64-unknown-linux-gnu --srcdir=../../gcc-4.7.2/cloog --disable-intermodule --enable-checking=release,types --disable-coverage --enable-languages=c,c++,lto --disable-shared --with-gmp-library=/opt/build/BUILD/builddir/./gmp/.libs --with-gmp-include=/opt/build/BUILD/builddir/./gmp --with-bits=gmp --with-ppl Any help on getting gcc-4.7.2 to be built with CLooG is greatly apperciated. P.S I am not subscribed to the list, would appreciate it if I am copied in the response. -- Bharath
Attachment:
smime.p7s
Description: S/MIME cryptographic signature