Re: "cannot run C compiled programs" error

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

 



Hi Ian,


On 20/04/11 20/04/11 3:54 PM, "Ian Lance Taylor" <iant@xxxxxxxxxx> wrote:

> Anna Ceguerra <anna.ceguerra@xxxxxxxxxxxxx> 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.
> 
Thank you! That worked!

One last question... All I see in my install directory is
cpp
gcc
gcov
i386-apple-darwin10.7.0-gcc
i386-apple-darwin10.7.0-gcc-4.6.1

How do I enable g++, fortran etc?

Thanks again
Anna.



[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