Re: problems compiling gcc under Max OS X

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

 



I too am having problems building an Intel gcc 4.3.1 on Mac OS X 10.5.4 on a standard iMac. There are many issues.

I grab the gmp-4.2.2 distribution, ./configure, make, and make install it to /usr/local. Everything is great.

ISSUE #1:
I then grab the mpfr-2.3.1 distribution, ./configure it, and the ./ configure fails. It says that the ABIs do not match. config.guess in the gmp build gives returns 'core2-apple-darwin9.4.0', while config.guess in the mpfr build returns 'i386-apple-darwin9.4.0'. Hmm. Well, core2 is not the same as i386, but they are in some sense compatible. How does one fix this?

ISSUE #2:
There are a lot of places in the configure scripts where you see

  rm: conftest.dSYM: is a directory

Is there an autoconf that fixes this? rm needs to be rm -rf on Mac OS X. (Is this because of a case-insensitive file system?)

ISSUE #3:
I really wish that these extra dependencies were not there. I can build gcc 4.2.5 without any problems, but requiring gmp and mpfr in 4.3+ with these hassles is a real pain. Why can't these be integrated into gcc and put into gcclib so builds go smoother?

Thanks for listening.

Dan Allen


[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