X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-1.6 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,UNPARSEABLE_RELAY X-Spam-Check-By: sourceware.org X-Yahoo-SMTP: jenXL62swBAWhMTL3wnej93oaS0ClBQOAKs8jbEbx_o- Date: Mon, 28 Mar 2011 21:33:43 -0400 From: Christopher Faylor To: cygwin AT cygwin DOT com Subject: Re: Bash: Cannot execute binary file Message-ID: <20110329013343.GD12793@ednor.casa.cgf.cx> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <31263793 DOT post AT talk DOT nabble DOT com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <31263793.post@talk.nabble.com> User-Agent: Mutt/1.5.20 (2009-06-14) Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: 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 On Mon, Mar 28, 2011 at 06:27:57PM -0700, independentt wrote: > >Ok here is my problem I used to be able to run bIRCD on a shell before. But >now first time I try cygwin, I WGET >http://ircd.bircd.org/bewareircd-linux.tar.gz and unzip it, edit the config >files. And now I try to execute it using (.) ./BIRCD and it says BASH: >Cannot execute binary file. I have full access to the file and when I type >file bircd it says ELF 32-bit LSB executable, Intel 80386, version 1 >(GNU/Linux), statically linked, stripped. If you go to http://cygwin.com/ and look under "...isn't it?" you'll see: Cygwin is not: * a way to run native Linux apps on Windows. You must rebuild your application from source if you want it to run on Windows. If file says "ELF 32-bit LSB executable, Intel 80386 version 1 (GNU/Linux)", it means it's a Linux file. That means that you have to build a Cygwin/Windows version of bircd. What you have is not a Cygwin version. cgf -- 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