Error running gcc ("No such file or directory" error for as.e xe)

James.Beard@oxinst.co.uk James.Beard@oxinst.co.uk
Thu Jul 21 11:25:00 GMT 2005


Hi again,

Apologies on not attaching the cygcheck file. I did the cygcheck and then
omitted to attach it. This time I have. 

The version of cygwin that I am using is the very latest: 1.5.18-1.

Permissions on each component of the path to as.exe are as follow:

getfacl /usr
# file: /usr
# owner: jbeard
# group: mkgroup-l-d
user::rwx
group::r-x
other:r-x
mask:rwx

getfacl /usr/i686-pc-cygwin/ 
# file: /usr/i686-pc-cygwin/
# owner: jbeard
# group: mkgroup-l-d
user::rwx
group::r-x
other:r-x
mask:rwx

getfacl /usr/i686-pc-cygwin/bin
# file: /usr/i686-pc-cygwin/bin
# owner: jbeard
# group: mkgroup-l-d
user::rwx
group::r-x
other:r-x
mask:rwx

getfacl /usr/i686-pc-cygwin/bin/as.exe
# file: /usr/i686-pc-cygwin/bin/as.exe
# owner: jbeard
# group: mkgroup-l-d
user::rwx
group::r-x
other:r-x
mask:rwx

Currently the $CYGWIN environment variable does not seem to be set at all.
Do I just set it to have the value "notraverse" and then try again?

Thanks,
James.

 <<cygcheck.out>> 

> -----Original Message-----
> From:	BEARD James 
> Sent:	Thursday, July 21, 2005 11:24 AM
> To:	BEARD James
> Subject:	Re: Error running gcc ("No such file or directory" error for
> as.exe)
> 
> James.Beard@oxinst.co.uk wrote:
> 
> > What is odd is that there is no doubt that this file (as.exe) exists.
> > If I do:
> >         ls -l
> > /usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../i686-pc-cygwin/bin/as.exe
> > the file is listed as expected with full execute permissions set.
> > 
> > If I try, from the command line, to execute the file, I get the
> following:
> > 1) If I am in the directory itself (which equates to
> > /usr/i686-pc-cygwin/bin), I can execute the file.
> > 2) If I am in any other directory, I can see the file, but I cannot
> execute
> > it (again get the "No such file or directory" error).
> 
> If you are using one of the versions of Cygwin that defaulted to
> traverse checking turned on, then there's a chance that this could be
> your problem.  Though I don't know if that is possible since it works if
> you run it from the same directory.
> 
> In order to know if this is the case we would need to know what version
> of Cygwin you're using, what the permissions on each component of the
> path to as.exe are, and whether adding 'notraverse' to $CYGWIN makes a
> difference.  Regardless of the question of traverse checking, you should
> post the output of getfacl for /usr, /usr/i686-pc-cygwin,
> /usr/i686-pc-cygwin/bin, and /usr/i686-pc-cygwin/bin/as.exe.
> 
> Incidently, much of this information would have been already known to us
> if you had included your "cygcheck -svr" output.  If you're not going to
> follow the guidelines at <http://cygwin.com/problems.html> then people
> are going to be less likely to want to help you.
> 
> Brian
> 
 ###  OXFORD INSTRUMENTS   http://www.oxford-instruments.com/  ### 

Unless stated above to be non-confidential, this E-mail and any 
attachments are private and confidential and are for the addressee 
only and may not be used, copied or disclosed save to the addressee.
If you have received this E-mail in error please notify us upon receipt 
and delete it from your records. Internet communications are not secure 
and Oxford Instruments is not responsible for their abuse by third 
parties nor for any alteration or corruption in transmission. 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: cygcheck.out
Type: application/octet-stream
Size: 21463 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin/attachments/20050721/13c1e65b/attachment.obj>
-------------- next part --------------
--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


More information about the Cygwin mailing list