From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31268 invoked by alias); 7 Sep 2006 18:50:07 -0000 Received: (qmail 31256 invoked by uid 22791); 7 Sep 2006 18:50:04 -0000 X-Spam-Check-By: sourceware.org Received: from mail.telasic.com (HELO liam.telasic.com) (65.241.39.67) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 07 Sep 2006 18:50:02 +0000 Received: from [127.0.0.1] ([192.168.10.133]) by liam.telasic.com with Microsoft SMTPSVC(6.0.3790.1830); Thu, 7 Sep 2006 11:50:00 -0700 Message-ID: <450069D8.3070707@unix.telasic.com> Date: Thu, 07 Sep 2006 18:50:00 -0000 From: Arun Biyani User-Agent: Thunderbird 1.5.0.5 (Windows/20060719) MIME-Version: 1.0 To: cygwin@cygwin.com Subject: Re: Cannot execute binary file References: <45005FFE.6030302@unix.telasic.com> <014301c6d2aa$2eb33e90$a501a8c0@CAM.ARTIMI.COM> <20060907182745.GB3831@trixie.casa.cgf.cx> In-Reply-To: <20060907182745.GB3831@trixie.casa.cgf.cx> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com X-SW-Source: 2006-09/txt/msg00111.txt.bz2 Thx, very much. There are 2 files there exactly as you state. Arun Christopher Faylor wrote: > On Thu, Sep 07, 2006 at 07:19:39PM +0100, Dave Korn wrote: > >> On 07 September 2006 19:08, Arun Biyani wrote: >> >>> Recently, I've run into this "cannot execute binary file" problem. I >>> have not run this program for 3-4 months but before that it would run >>> fine in Cygwin. It was compiled and linked for Cygwin even though >>> "file" command says linux. >>> >>> [rom$:553] m68k-elf-objcopy -O binary umon_rom.elf umon_rom.bin >>> /bin/m68k-elf-objcopy: /bin/m68k-elf-objcopy: cannot execute binary file >>> [rom$:554] file /bin/m68k-elf-objcopy >>> /bin/m68k-elf-objcopy: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), for GNU/Linux 2.2.5, dynamically linked (uses shared libs), for GNU/Linux 2.2.5, stripped >>> >> No. No way on earth did it ever run that file. If the file command >> says linux, then it IS linux. You must have overwritten your cygwin >> version at some stage with a linux version. >> > > I suspect that there is a m68k-elf-objcopy and a m68k-elf-objcopy.exe > file there. The m68k-elf-objcopy (without the .exe extension) should be > deleted. > > cgf > > -- > Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple > Problem reports: http://cygwin.com/problems.html > Documentation: http://cygwin.com/docs.html > FAQ: http://cygwin.com/faq/ > > > > > -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/