This is the mail archive of the gcc@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: Compiling GCC under Cygwin


Ciao Arjen,

Il 19/06/2013 21.01, Arjen Markus ha scritto:

As for the build experiment itself:
- I downloaded the 4.8.1 source
- I configured the Makefiles with this command:
  ./configure --prefix=d:/gcc-src/gcc

Hmm... Cygwin doesn't like the path in the DOS style, "d:/...". At least it should be "/cygdrive/d/...". In any case "--prefix=PATH" is for where the resulting GCC binaries will be installed, not where is the GCC source..

If I remember correctly, the build should be done in a separate directory,

$ mkdir build_gcc
$ cd build_gcc
$ WHERE_IS/gcc-src/configure --prefix=PATH --enable-languages=c,c++,fortran [...]

I would suggest to follow the section "Configuration and compiling" in

  http://gcc.gnu.org/wiki/GFortranSource

and the links therein...


If I understand the issue correctly, I can probably get rid of it
tomorrow - as then the
laptop will be connected to the proper domain.

Good luck... :)


Ciao,
 Angelo.


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