delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/07/20/07:05:10

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.0 required=5.0 tests=AWL,BAYES_00,DATE_IN_PAST_06_12,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: Mon, 20 Jul 2009 04:34:28 +0200
Lines: 40
Message-ID: <h41j0b$gvq$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> <h3v3ur$tcp$1 AT ger DOT gmane DOT org> <4A6321B0 DOT 2050508 AT gmail DOT com>
Mime-Version: 1.0
In-Reply-To: <4A6321B0.2050508@gmail.com>
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 Dave,

>> [...]
>> btw: all other bins (ar.exe, etc) in this bin directory are set to 550
>  That's also wrong.  It should be 750.
> [...]
>  Sounds to me like your real problem is that all your permissions have
> been
> trashed somehow, or whatever caused that.  I can imagine that last time
> you
> ran setup.exe to get updates, it would have gone horribly wrong if you
> don't
> have any write permissions to replace the updated files.

yes, the installation seemed to be very broken. But I don't know
when this happend and what caused this.
The update process finished always successful and so I didn't
care about cygwins installation...

>> Is there an essential change of the right management since the
>> introduction of gcc v4.x?
>
>  No, absolutely not.  The compiler has no control over permissions anyway,
> that's all handled in the Cygwin DLL.
> [...]

There were some strange errors and I decided to completly install
a new anf fresh cygwin environment, because the cygserver didn't work
also. Now the problems are gone. Thank you all for your help

Now my gcc3 compile works and there are no more problems.

btw: In my old (gcc3) makefile I used -mno-cygwin within the
LDFLAGS to compile real native win32 executables, but what
do I have to pass to the compiler/linker to compile with gcc4.x to
get real native win executables?
Don't find correspondending switches. Without -mno-cygwin the
compilation works with gcc4 too, but needs the cygwin1.dll

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