gcc-3 problem when compiling

Thomas Steinbach steinbach@gmx-topmail.de
Mon Jul 20 11:57:00 GMT 2009


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



More information about the Cygwin mailing list