X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-0.6 required=5.0 tests=AWL,BAYES_00,DATE_IN_PAST_12_24,J_CHICKENPOX_43,RCVD_IN_DNSWL_LOW,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: sourceware.org To: cygwin AT cygwin DOT com From: "Thomas Steinbach" Subject: Re: gcc-3 problem when compiling Date: Sun, 19 Jul 2009 00:52:47 +0200 Lines: 48 Message-ID: References: <20090718193910 DOT GA478 AT ednor DOT casa DOT cgf DOT cx> Mime-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit In-Reply-To: <20090718193910.GA478@ednor.casa.cgf.cx> X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Hello Christoph, >> since a few weeks I can't comp?ile my (native mingw) projet >> which was no problem until the gcc was renamed to gcc-3 >> [...] >> /3.4.4/../../../../i686-pc-cygwin/bin/as.exe: cannot execute binary file >> make: *** [int/wrap_s.obj] Error 1 > > And what does > ls -l > /usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../i686-pc-cygwin/bin/as.exe > show? It shows: ---snip--- $ ls -l /usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../i686-pc-cygwin/bin/as.exe ----r-x---+ 1 root Users 26 May 22 03:29 /usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../i686-pc-cygwin/bin/as.exe user AT computer $ _ ---snap--- so, the file exist and is executable by group (Users), so the user should also be able to execute... shouldn't it? Anyway I set the file manually to chmod 555 /usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../i686-pc-cygwin/bin/as.exe and then the user (root), group(Users) and world should be able to execute, but still get that error... :-( Is the setting to 050 a result of the introduction of gcc v4.x? Why? btw: all other bins (ar.exe, etc) in this bin directory are set to 550 btw2: all bins ind C:\cygwin\bin are set to 050 ??? but I don't know if that was the state before the introduction of gcc 4.x btw3: the admin user's name is "root" and the users name is "user" and the common group of users is "Users", as you can see in the result of the "ls -l" command Is there an essential change of the right management since the introduction of gcc v4.x? Thomas -- 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