This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Hi Peng Yu,

>> See the documentation for a fuller list:
>> 
>> ? ?http://gcc.gnu.org/install/configure.html
> 
> ./configure --enable-languages='c java' --prefix=mydir
> make -j6
> 
> But I get the following error after I run the second command ('make
> -j6'). Can somebody let me what the problem is?

You should read this information:

http://gcc.gnu.org/install/configure.html

"""
We highly recommend against dirname being the same or a subdirectory of
objdir or vice versa.
"""

I have never had any luck with ./configure working for me, with GCC.

I always use a build directory, which is peer to the gcc source directory:
cd /home/eljay/gcc
mkdir build
cd build
../gcc-4.3.4/configure --enable-languages='c'
make -j6

HTH,
--Eljay


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]