delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/07/19/08:36:19

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" <steinbach AT gmx-topmail DOT 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 AT ger DOT gmane DOT org> <20090718193910 DOT GA478 AT ednor DOT casa DOT cgf DOT cx>
Mime-Version: 1.0
In-Reply-To: <20090718193910.GA478@ednor.casa.cgf.cx>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019