X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-0.9 required=5.0 tests=BAYES_00,FORGED_HOTMAIL_RCVD2,FREEMAIL_FROM,TW_CG,T_RP_MATCHES_RCVD,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: sourceware.org Message-ID: <31263838.post@talk.nabble.com> Date: Mon, 28 Mar 2011 18:42:32 -0700 (PDT) From: independentt To: cygwin AT cygwin DOT com Subject: Re: Bash: Cannot execute binary file In-Reply-To: <20110329013343.GD12793@ednor.casa.cgf.cx> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit References: <31263793 DOT post AT talk DOT nabble DOT com> <20110329013343 DOT GD12793 AT ednor DOT casa DOT cgf DOT cx> X-IsSubscribed: yes 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 Christopher Faylor-8 wrote: > > 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 > > > how do I build a cygwin version of bircd? -- View this message in context: http://old.nabble.com/Bash%3A-Cannot-execute-binary-file-tp31263793p31263838.html Sent from the Cygwin list mailing list archive at Nabble.com. -- 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