www.delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-SWARE-Spam-Status: | No, hits=-1.9 required=5.0 tests=AWL,BAYES_00,SARE_MSGID_LONG40,SPF_PASS |
X-Spam-Check-By: | sourceware.org |
MIME-Version: | 1.0 |
In-Reply-To: | <d5185a160912160733i421c09f2w2ee408c9c22144d7@mail.gmail.com> |
References: | <d5185a160912160730l225c8d07yb286d26b28b85aec AT mail DOT gmail DOT com> <d5185a160912160733i421c09f2w2ee408c9c22144d7 AT mail DOT gmail DOT com> |
From: | "DePriest, Jason R." <jrdepriest AT gmail DOT com> |
Date: | Wed, 16 Dec 2009 09:50:55 -0600 |
Message-ID: | <31b7d2790912160750l1e77357egae678dc9455467d2@mail.gmail.com> |
Subject: | Re: Executing ready compiled C program using bash shell |
To: | cygwin AT cygwin DOT com |
X-IsSubscribed: | yes |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Unsubscribe: | <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT 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. =46rom 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 =AE 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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |