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: failed building gcc 4.6 from sources on linux mint 2.6.35-28-generic, when doing Fortran build


On 3/27/2011 2:13 AM, Marc Glisse wrote:
On Sun, 27 Mar 2011, Nasser M. Abbasi wrote:

I am trying to build gcc 4.6 which I downloaded today. I followed
all instructions, did the following:

1. build/install  m4-latest
2. build/install  gmp-5.0.01
3. build/install  mpfr-3.0.0
4. build/install  mpc-0.9
5. and now for gcc 4.6:

./configure
make
This after about 2 hrs compiling, I get this error:

checking for suffix of object files... configure: error: in
`/media/sf_nabbasi/data/Fortran_related/gcc_4_6/gcc-4.6.0/i686-pc-linux-gnu/libgcc':
configure: error: cannot compute suffix of object files: cannot compile
See `config.log' for more details.
make[2]: *** [configure-stage1-target-libgcc] Error 1
make[2]: Leaving directory
`/media/sf_nabbasi/data/Fortran_related/gcc_4_6/gcc-4.6.0'



See http://gcc.gnu.org/wiki/FAQ item 5.


THanks Marc;


I looked at the above link. But not able to figure what is
wrong. I see no error in my config.log file, here it is again

http://12000.org/tmp/march_27_2011/

I did clean; ./configure; make and same error.

I am no expert in these things. Anything specific I should
try to do? Any one can see any error in the log file?

I do not need to build gcc 4.6 if I can help it, but
not able to find prebuild one for my system. When I use
synaptic package manager, it does not show gcc 4.6 there,
only 4.4. It uses the Ubuntu repositories. Can't
also find binaries for gcc 4.6 for windows.

Thanks
--Nasser


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