X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-2.2 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org X-DKIM: Sendmail DKIM Filter v2.8.3 mux2.uit.no pA28AfSD009088 From: =?utf-8?B?RWR2YXJkc2VuIEvDpXJl?= To: "cygwin AT cygwin DOT com" CC: "moss AT cs DOT umass DOT edu" Subject: Re: cannot execute binary file Date: Wed, 2 Nov 2011 08:10:41 +0000 Message-ID: <1320221416.5480.118.camel@kare-desktop> References: <1320152408 DOT 5480 DOT 93 DOT camel AT kare-desktop> In-Reply-To: <1320152408.5480.93.camel@kare-desktop> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by delorie.com id pA28BKRl013863 Are there any debug options or logs to check when you get "cannot execute binary file"? Cheers, Kåre On ti., 2011-11-01 at 13:00 +0000, Edvardsen Kåre wrote: > On ti., 2011-11-01 at 07:28 -0500, Eliot Moss wrote: > > On 11/1/2011 5:24 AM, Edvardsen Kåre wrote: > > > I've built from source (gfortran) an application that won't run (cannot > > > execute binary file) and the "file" command prompts: PE32 executable > > > (console) Intel 80386, for MS Windows. (Yes, chmod 755 is set for the > > > executable...) > > > > Here's a wondering: Are the necessary dll's installed properly? > > Maybe you would see this if the program cannot link its libraries > > during startup ... > > > > Regards -- Eliot Moss > > I did "rebaseall" after installing a couple of necessary lib's. > > All compiling (configure, make etc) goes like nothing's wrong (just a > few harmless warnings known for ages for this software). The only real > error displayed is the: cannot execute binary file. > > I'll try to reinstall cygwin as admin to see if things change. > > Cheers, > Kåre >