"cannot run C compiled programs" error

Ian Lance Taylor iant@google.com
Wed Apr 20 07:48:00 GMT 2011


Anna Ceguerra <anna.ceguerra@sydney.edu.au> writes:

>>> You're right... I tried -m32 and the a.out executed OK!
>>> 
>>> Would you know how I can set this as a flag to the configure script?
>>> 
>>> Thanks again,
>>> Anna.
>>> 
>> If you are not setting it you need to figure out where it is coming
>> from? Try running the config.guess script in the root of your source
>> directory.
>
> Config.guess gives me i386-apple-darwin10.7.0
>
> When I try to build gcc, it fails in the x86_64/libgcc directory - the
> normal libgcc was OK during the build.

Ah.  When you run configure, use --disable-multilib.

Ian



More information about the Gcc-help mailing list