This is the mail archive of the
mailing list for the Cygwin project.
Re: 1.7.14: Compiling GCC fails (Permission denied on mv)
- From: Ryan Johnson <ryan dot johnson at cs dot utoronto dot ca>
- To: cygwin at cygwin dot com
- Date: Wed, 11 Jul 2012 15:59:12 -0400
- Subject: Re: 1.7.14: Compiling GCC fails (Permission denied on mv)
- References: <4FFD7408.firstname.lastname@example.org>
On 11/07/2012 8:39 AM, Thorolf Schulte wrote:
Hi,Ignore the wikia article. Third party "advice" on how to use cygwin is
usually outdated and/or flat out wrong. The multilib thing is especially
suspicious, given that cygwin is *not* 64-bit capable.
this is my first mail on the mailing list, so please excuse any mistakes.
I am trying to compile GCC 4.6.1 on my Cygwin 1.7.14 following this:
I downloaded and installed every package needed (GMP, MPFR,
Then I went into my build folder and typed
../gcc-4.6.1/configure --enable-languages=c,c++ --enable-libgomp
--with-multilib-list=m64,m32 --prefix $HOME/gcc64pls --program-suffix
(I need OMP and 64 bit support as my programs need more than 2 gb RAM!)
That worked fine, but just for completeness, I attached the output as
Now I try to build GCC with "make -j4". Here the problem occurs: The
data cannot be moved from "gcc" to "stage1-gcc" (Permission denied).
After this error I checked the build folder and saw that the
corresponding folder is not there. Then I tried to manually add all
folders necessary, but it seems that they get deleted during build
progress (saw some rm -r in Makefile). So I get exactly the same
problem after manually adding all folders.
I wanted to attach the full output as well, but the file size with
>800kb seemed to be too big. I just attached the last 10-20%, but of
course I can send the other output as well.
Additionally, I attached my version information in "cygcheck.txt".
Currently, I just dont know what to do. I tried to find some help via
Google or the archive, but it seems that I am the only one facing this
Any (general) advice? Thanks!
I'd follow the directions at gcc's site, or -- even better -- invoke
`/usr/bin/gcc -v' and copy its known-good configure line. I've compiled
many versions of gcc with many versions of cygwin that way without
$ uname -a
CYGWIN_NT-6.1-WOW64 ryan-cms-utsc 1.7.14(0.260/5/3) 2012-04-25 09:41
$ gcc -v
Using built-in specs.
Configured with: ../gcc-4.7.0-src/configure
--enable-version-specific-runtime-libs --enable-static --enable-shared
--enable-shared-libgcc --disable-__cxa_atexit --with-dwarf2
--disable-sjlj-exceptions --enable-languages=c,c++,lto --enable-lto
Thread model: single
gcc version 4.7.0 (GCC)
Problem reports: http://cygwin.com/problems.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple