This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Executing ready compiled C program using bash shell
- From: "DePriest, Jason R." <jrdepriest at gmail dot com>
- To: cygwin at cygwin dot com
- Date: Wed, 16 Dec 2009 09:50:55 -0600
- Subject: Re: Executing ready compiled C program using bash shell
- References: <d5185a160912160730l225c8d07yb286d26b28b85aec@mail.gmail.com> <d5185a160912160733i421c09f2w2ee408c9c22144d7@mail.gmail.com>
On Wed, Dec 16, 2009 at 9:33 AM, Jasmit Kaur <> wrote:
> I have recently downloaded cygwin. I am trying to run a ready compiled
> C binary program using bash shell...I get the following error...cannot
> execute binary file - any suggestions?
>
> Thanks
> Jasmit
>
> --
First, welcome to Cygwin.
Second, please follow the guidelines here
http://cygwin.com/problems.html when reporting an issue.
Finally, what do you mean exactly by "ready compiled C binary
program?" If it wasn't compiled using Cygwin, it won't run under
Cygwin.
You may need to take the source code and compile it using a Cygwin
bash shell and the Cygwin gcc environment.
From the Cygwin home page:
What Isn't Cygwin?
# Cygwin is not a way to run native linux apps on Windows. You have to
rebuild your application from source if you want it to run on Windows.
# Cygwin is not a way to magically make native Windows apps aware of
UNIX ® functionality, like signals, ptys, etc. Again, you need to
build your apps from source if you want to take advantage of Cygwin
functionality.
Thanks.
-Jason
--
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