I setup the gcc source directory by first running ./contrib/download_prerequisites and then downloading cloog and untaring it similar to what was done in download_prerequisites script file.
My configure line is as follows:$ ./configure --prefix=/opt/apps/gcc/4.7.2 --enable-languages=c,c++,fortran --enable-bootstrap --enable-shared --enable-__cxa_atexit --enable-checking=rele+ase --with-arch_32=i686 --with-bits=gmp --with-system-zlib --with-tune=generic
When I open host-x86_64-unknown-linux-gnu/cloog/config.log to the configure line is
/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-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=../.././cloog --disable-intermodule --enable-checking=release,types --disable-coverage --enable-languages=c,c++,lto --disable-shared --with-gmp-library=/opt/build/BUILD/gcc-4.7.2/host-x86_64-unknown-linux-gnu/gmp/.libs --with-gmp-include=/opt/build/BUILD/gcc-4.7.2/host-x86_64-unknown-linux-gnu/gmp --with-bits=gmp --with-ppl
It still fails with the following error 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 $ ls /opt/build/BUILD/gcc-4.7.2/host-x86_64-unknown-linux-gnu/gmp/gmp.h /opt/build/BUILD/gcc-4.7.2/host-x86_64-unknown-linux-gnu/gmp/gmp.hAny help in resolving this failure is appreciated. I am not subscribed to the list so would appreciate it if I am copied in the response.
-- Bharath
Attachment:
smime.p7s
Description: S/MIME Cryptographic Signature