X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=BAYES_00,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Message-ID: <4D913667.9070006@cs.umass.edu> Date: Mon, 28 Mar 2011 20:31:19 -0500 From: Eliot Moss Reply-To: moss AT cs DOT umass DOT edu User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.15) Gecko/20110303 Thunderbird/3.1.9 MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: Bash: Cannot execute binary file References: <31263793 DOT post AT talk DOT nabble DOT com> In-Reply-To: <31263793.post@talk.nabble.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes 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 On 3/28/2011 8:27 PM, 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. > I am a windowsx86 vista user I could be off-base, but two quick thoughts: 1) Do the file permissions include x (executable) permission as shown by ls -l? 2) Above you used ./BIRCD and bircd interchangeably for the names, but in cygwin names can be case-sensitive. Have you tried the case (upeer vs. lower) of the letters of the name exactly as ls reports? Best wishes -- Eliot Moss -- 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