"cannot run C compiled programs" error

kevin diggs diggskevin38@gmail.com
Wed Apr 20 03:43:00 GMT 2011


Hi,

On Tue, Apr 19, 2011 at 8:49 PM, Anna Ceguerra
<anna.ceguerra@sydney.edu.au> wrote:
> I managed to export conftest.c before it got deleted. Here is the code, and
> the generated assembly. Generating a.out & running it causes it to fail with
> the same error ( Bad CPU type in executable). Also, what does the ".quad"
> instruction do? I thought I had disabled libquadmath in my configure
> command?
>
> Compile command
> ===============
> /Users/anna/Documents/programs/GCC/GCC/build/./gcc/xgcc
> -B/Users/anna/Documents/programs/GCC/GCC/build/./gcc/
> -B/Users/anna/Documents/programs/GCC/GCC/install/i386-apple-darwin10.7.0/bin
> /
> -B/Users/anna/Documents/programs/GCC/GCC/install/i386-apple-darwin10.7.0/lib
> / -isystem
> /Users/anna/Documents/programs/GCC/GCC/install/i386-apple-darwin10.7.0/inclu
> de -isystem
> /Users/anna/Documents/programs/GCC/GCC/install/i386-apple-darwin10.7.0/sys-i
> nclude  -m64 -g -O2   conftest.c
>
-m64??? I think that is 64-bit???
>
kevin



More information about the Gcc-help mailing list