This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: gcc-3 problem when compiling


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]