Re: GCC 4.7.2 build failure

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

 



On 2/15/2013 7:16 AM, Paul Smith wrote:
On Fri, 2013-02-15 at 01:02 -0500, Bharath Ramesh wrote:
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
This shows you are trying to build GCC in its source directory.  This
method of building is not well supported (see the GCC installation
documentation).  If you're not prepared to debug and fix the problems
you find to help make this model work, then you should use the model
everyone else uses.
Fair enough. Here is my second attempt. Here are the commands I executed
$ tar xvf /home/bramesh/downloads/gcc-4.7.2.tar.bz2
$ cd gcc-4.7.2
$ ./contrib/download_prerequisites
$ wget ftp://gcc.gnu.org/pub/gcc/infrastructure/cloog-0.18.0.tar.gz
$ tar xvf cloog-0.18.0.tar.gz
$ ln -sf cloog-0.18.0 cloog
$ rm -f cloog-0.18.0.tar.gz
$ mkdir builddir
$ cd builddir
$ ../configure --prefix=/opt/apps/gcc/4.7.2 --enable-languages=c,c++,fortran --enable-bootstrap --enable-shared --enable-__cxa_atexit --enable-checking=rel+ease --with-arch_32=i686 --with-bits=gmp --with-isl=bundled --with-system-zlib --with-tune=generic

I still get a build failure when stage1 cloog is being configured. The error being that it is unable to locate gmp.h. The configure line that gets used for stage1 cloog being /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=../../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/builddir/./gmp/.libs --with-gmp-include=/opt/build/BUILD/gcc-4.7.2/builddir/./gmp --with-bits=gmp --with-ppl

$ ls gcc-4.7.2/builddir/./gmp/gmp.h
gcc-4.7.2/builddir/./gmp/gmp.h

Help on this is appreciated.

--
Bharath


Attachment: smime.p7s
Description: S/MIME Cryptographic Signature


[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