Re: How to compile and install only one compile in GCC?

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

 



Peng Yu wrote:

./configure --enable-languages='c java' --prefix=mydir
make -j6
It's much better to do something like

$ mkdir build
$ cd build
$ /path/to/gcc-source-code/configure --enable-languages="c java"

 > I run the above three commands that you mentioned. Then I run make the
directory 'build'. But I still get the following error message (I
don't find any other instances of the words "Error" and "error" in the
output). Do you know what the problems are?

make[3]: Leaving directory `/home/pengy/download/linux/gcc-4.3.4-build/gcc'
make[2]: *** [all-stage1-gcc] Error 2
make[2]: Leaving directory `/home/pengy/download/linux/gcc-4.3.4-build'
make[1]: *** [stage1-bubble] Error 2
make[1]: Leaving directory `/home/pengy/download/linux/gcc-4.3.4-build'
make: *** [all] Error 2

After configuring in the source dir the sources are mixed with the
results of the configure! The earlier error msg told you to make a
'distclean' in them or "start again from a clean table" !

Doing 'rm -f -r' for the 'gcc-4.3.4' directory and then unpacking
the sources again from the tarball, 'gcc-4.3.4.tar.bz2' or something,
could be the most easy way... After that doing reconfigure in the
"parallel" or "peer" separate and empty 'build' directory :

../gcc-4.3.4/configure .....


[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