Mail Archives: cygwin/2012/07/11/16:28:39
X-Recipient: | archive-cygwin AT delorie DOT com
|
X-SWARE-Spam-Status: | No, hits=-5.9 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,KHOP_RCVD_TRUST,KHOP_THREADED,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_NO,RCVD_IN_HOSTKARMA_YE,TW_CX,TW_JL
|
X-Spam-Check-By: | sourceware.org
|
Message-ID: | <4FFDE1DD.7080700@googlemail.com>
|
Date: | Wed, 11 Jul 2012 22:28:13 +0200
|
From: | Thorolf Schulte <thorolf DOT schulte AT googlemail DOT com>
|
User-Agent: | Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20120614 Thunderbird/13.0.1
|
MIME-Version: | 1.0
|
To: | cygwin AT cygwin DOT com
|
Subject: | Re: 1.7.14: Compiling GCC fails (Permission denied on mv)
|
References: | <4FFD7408 DOT 3020006 AT googlemail DOT com> <4FFDDB10 DOT 9050506 AT cs DOT utoronto DOT ca>
|
In-Reply-To: | <4FFDDB10.9050506@cs.utoronto.ca>
|
X-IsSubscribed: | yes
|
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm
|
List-Id: | <cygwin.cygwin.com>
|
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com>
|
List-Archive: | <http://sourceware.org/ml/cygwin/>
|
List-Post: | <mailto:cygwin AT cygwin DOT com>
|
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
|
Sender: | cygwin-owner AT cygwin DOT com
|
Mail-Followup-To: | cygwin AT cygwin DOT com
|
Delivered-To: | mailing list cygwin AT cygwin DOT com
|
Am 11.07.2012 21:59, schrieb Ryan Johnson:
> On 11/07/2012 8:39 AM, Thorolf Schulte wrote:
>> Hi,
>>
>> 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:
>> http://cygwin.wikia.com/wiki/How_to_install_a_newer_version_of_GCC
>>
>> I downloaded and installed every package needed (GMP, MPFR,
>> Multiprecision).
>> 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
>> -64pls
>>
>> (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
>> "confout.txt".
>>
>> 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
>> exact problem.
>>
>> Any (general) advice? Thanks!
> 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.
>
> 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
> difficulty.
>
> $ uname -a
> CYGWIN_NT-6.1-WOW64 ryan-cms-utsc 1.7.14(0.260/5/3) 2012-04-25 09:41
> i686 Cygwin
>
> $ gcc -v
> Using built-in specs.
> COLLECT_GCC=gcc
> COLLECT_LTO_WRAPPER=/home/Ryan/apps/gcc-4.7/libexec/gcc/i686-pc-cygwin/4.7.0/lto-wrapper.exe
>
> Target: i686-pc-cygwin
> Configured with: ../gcc-4.7.0-src/configure
> --prefix=/home/Ryan/apps/gcc-4.7 --enable-bootstrap
> --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)
>
> Ryan
>
>
> --
> Problem reports: http://cygwin.com/problems.html
> FAQ: http://cygwin.com/faq/
> Documentation: http://cygwin.com/docs.html
> Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
>
Hey,
okay, if Cygwin isn't able to perform 64-bit operations, then I can keep
my old GCC, but just for curiosity I will try to compile it without
multilib. I thought that it is 64-bit capable if one only compiles GCC
on its own. Thank you for this information!
Kind Regards,
Thorolf
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
- Raw text -