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: cannot execute binary file


On 11/2/2011 3:41 AM, Marco Atzeri wrote:
On 11/2/2011 9:10 AM, Edvardsen KÃre wrote:

Are there any debug options or logs to check when you get "cannot execute binary file"?

Cheers,
KÃre

- if is it a permission problem you need to check the ACL permissions see getfacl or ACL permission from windows explorer

- if you are missing dll's, you can check with:
cygcheck ./nome_of_your_file
ldd ./nome_of_your_file

An additional thought is to use strace to see the exact sequence of OS calls and results. You would strace bash and type your command at bash, then examine the strace output ...

Eliot Moss

--
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]