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" Subject: Re: gcc-3 problem when compiling Date: Mon, 20 Jul 2009 04:34:28 +0200 Lines: 40 Message-ID: References: <20090718193910 DOT GA478 AT ednor DOT casa DOT cgf DOT cx> <4A6321B0 DOT 2050508 AT gmail DOT com> Mime-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit In-Reply-To: <4A6321B0.2050508@gmail.com> 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 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