This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Compiling GCC under Cygwin
- From: Arjen Markus <arjen dot markus895 at gmail dot com>
- To: Angelo Graziosi <angelo dot graziosi at alice dot it>
- Cc: gcc at gcc dot gnu dot org
- Date: Thu, 20 Jun 2013 12:00:25 +0200
- Subject: Re: Compiling GCC under Cygwin
- References: <51C1F5BF dot 2050706 at alice dot it> <CAMCbSMrGdX7nJZtLb6Z7deWhYoG9TJc6L0qYH4fi41fV5DR62g at mail dot gmail dot com> <51C2230B dot 7000805 at alice dot it>
Hi Angelo,
well, the DOS-style path only caused a warning in the configure step,
so I assumed it was okay.
It was not apparently. Building out-of-source is an instruction I must
have missed.
So, I tried again. The problem I reported before has gone, but I still
get a file permission problem later on.
I have not been able to solve it, even though my laptop is now
connected to the domain, I have instructed
the build process to use my home directory and I have set umask to
0000 - all suggestions I found or
was told they might solve the problem.
If anyone knows what to do about it, I would very much like to hear
about it. My Google foo is failing me
in unearthing a definite solution, I am afraid.
Regards,
Arjen
2013/6/19 Angelo Graziosi <angelo.graziosi@alice.it>:
> 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.
>