This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: "cannot run C compiled programs" error


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]