X-Recipient: archive-cygwin@delorie.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@cygwin.com
From: "Thomas Steinbach" <steinbach@gmx-topmail.de>
Subject:  Re: gcc-3 problem when compiling
Date:  Sun, 19 Jul 2009 00:52:47 +0200
Lines: 48
Message-ID: <h3v3ur$tcp$1@ger.gmane.org>
References:  <h3sss1$dco$1@ger.gmane.org> <20090718193910.GA478@ednor.casa.cgf.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@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.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@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

