delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/07/24/05:15:12

X-Spam-Check-By: sourceware.org
Message-ID: <cd94ed140607240214r7c4550b8q9f358fdf9356aa1d@mail.gmail.com>
Date: Mon, 24 Jul 2006 14:44:59 +0530
From: "Keshavan Varadarajan" <keshavanvrajan AT gmail DOT com>
To: cygwin AT cygwin DOT com
Subject: cannot execute binary on AMD Turion based laptop
MIME-Version: 1.0
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

Hi,

I have a laptop with AMD Turion processor running Windows XP SP2. I
have installed cygwin on my laptop. I am having problems executing the
programs I have compiled using gcc (that comes along with Cygwin). The
following error is reported:
$ ./dineroIV
./dineroIV: ./dineroIV: cannot execute binary file

I have checked the permissions on the file and it does have execute
permissions. The file command indicates that it is a binary.
$ file dineroIV
dineroIV: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), for GNU/Linu
x 2.2.5, dynamically linked (uses shared libs), for GNU/Linux 2.2.5,
not stripped

$ ls -l dineroIV
-rwx--x--x+ 1 keshavan None 414539 Jul 10 16:18 dineroIV

The version of the compiler installed is 3.4.4. Can you please help me
with this?
$ gcc -v
Reading specs from /usr/lib/gcc/i686-pc-cygwin/3.4.4/specs
Configured with: /gcc/gcc-3.4.4/gcc-3.4.4-1/configure --verbose --prefix=/usr --
exec-prefix=/usr --sysconfdir=/etc --libdir=/usr/lib --libexecdir=/usr/lib --man
dir=/usr/share/man --infodir=/usr/share/info --enable-languages=c,ada,c++,d,f77,
java,objc --enable-nls --without-included-gettext --enable-version-specific-runt
ime-libs --without-x --enable-libgcj --disable-java-awt --with-system-zlib --ena
ble-interpreter --disable-libgcj-debug --enable-threads=posix --enable-java-gc=b
oehm --disable-win32-registry --enable-sjlj-exceptions --enable-hash-synchroniza
tion --enable-libstdcxx-debug : (reconfigured)
Thread model: posix
gcc version 3.4.4 (cygming special) (gdc 0.12, using dmd 0.125)

Thanks and Regards
Keshavan

***********************************************
A Sentence is but a cheveril glove to a good wit; how quickly the
wrong side can be turned outward.

William Shakespeare
**********************************************

--
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019