This is the mail archive of the mailing list for the GNU Fortran 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: Problem building GCC

Hi Axel,

I created a separate build directory next to the source directory, so
not a subdirectory and
ran ../gcc-4.6.1-RC-20110620/configure and make.

This ended up with the same error about the file in some
ada-related directory.

The first part of the config.out file is:
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by configure, which was
generated by GNU Autoconf 2.64.  Invocation command line was

  $ ../gcc-4.6.1-RC-20110620/configure
--with-mpc-lib=d:/gcc4.6.1.src/mpc-0.9/src/.libs --prefix=d:/gcc4.6.1

## --------- ##
## Platform. ##
## --------- ##

hostname = L00138
uname -m = i686
uname -r = 1.0.16(0.48/3/2)
uname -s = MINGW32_NT-5.1
uname -v = 2010-09-29 00:07

whereas the make output ends with:

make[4]: Entering directory `/d/gcc4.6.1.src/build-gcc/prev-gcc'
*** multiple target patterns.  Stop.
make[4]: Leaving directory `/d/gcc4.6.1.src/build-gcc/prev-gcc'
make[3]: *** [stmp-fixinc] Error 2
make[3]: Leaving directory `/d/gcc4.6.1.src/build-gcc/gcc'
make[2]: *** [all-stage2-gcc] Error 2
make[2]: Leaving directory `/d/gcc4.6.1.src/build-gcc'
make[1]: *** [stage2-bubble] Error 2
make[1]: Leaving directory `/d/gcc4.6.1.src/build-gcc'
make: *** [all] Error 2



2011/6/23 Arjen Markus <>:
> Hi Axel,
> oh! I did not realise that - in the autoconf projects I am used to, this
> is the way to work. I will give that a try.
> Regards,
> Arjen
> 2011/6/23 Axel Freyn <>:
>> Hi Arjen,
>> That explains your problem. ?You are explicitely discouraged to run
>> configure inside the source directory :-)
>> You have to run it from a different directory which is even NO
>> SUBDIRECTORY of the source-directory.
>> So e.g.
>> mkdir build
>> cd build
>> ../gcc-4.6.1-RC-20110620/configure .......
>> should work.
>> see:

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