Re: GCC 4.7.2 build failure

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

 



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.

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.



[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