This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Compiling GCC under Cygwin
- From: Angelo Graziosi <angelo dot graziosi at alice dot it>
- To: Arjen Markus <arjen dot markus895 at gmail dot com>
- Cc: gcc at gcc dot gnu dot org
- Date: Wed, 19 Jun 2013 23:30:51 +0200
- Subject: Re: Compiling GCC under Cygwin
- References: <51C1F5BF dot 2050706 at alice dot it> <CAMCbSMrGdX7nJZtLb6Z7deWhYoG9TJc6L0qYH4fi41fV5DR62g at mail dot gmail dot com>
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.