Re: "cannot run C compiled programs" error

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Jonathan Wakely <jwakely.gcc@xxxxxxxxx> writes:

>> configure:3166: checking whether the C compiler works
>> configure:3175: ./a.out
>> ../../../../gcc-4.6-20110408/libgcc/configure: line 3177: ./a.out: Bad CPU
>> type in executable
>
> I'm not sure what this error means - do you have a working gcc
> installed that can actually compile successfully for your system?

This is when building libgcc.  It means that the newly built gcc is
unable to build an executable which runs on the current system.  An
error like "Bad CPU type" suggests a problem with the assembler or with
how gcc is invoking the assembler.  I don't know enough about Darwin to
know what is happening.

Ian


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux