On Sat, Mar 7, 2009 at 8:34 PM, Bill Hart <goodwillh...@googlemail.com> wrote: > > The problem on varro seems to be a screwed up gcc. This is what you > get when you type gcc -v: > > varro:~/mpir-varro wbhart$ gcc -v > Using built-in specs. > Target: powerpc-apple-darwin8.11.0 > Configured with: /usr/local/gcc-4.3.3/src/gcc-4.3.3/configure --enable- > languages=c,c++,fortran --with-gmp=/usr/local/gmp-4.2.4/G5-Darwin- > tiger-gcc-4.3.2-abi32 --with-mpfr=/usr/local/mpfr-2.3.2/G5-Darwin- > tiger-gmp-4.2.4-gcc-4.3.2-abi32 --prefix=/usr/local/gcc-4.3.3/G5- > Darwin-tiger-gcc-4.0.1-apple > Thread model: posix > gcc version 4.3.3 (GCC) > > So it is GNU gcc. However, the result of compiling: > > #include <stdio.h> > #if defined(__APPLE_CC__) > #error GNU gcc claims to be Apple_cc > #endif > > int main(void) > { > printf("hello\n"); > return 0; > } > > is the following: > > varro:~ wbhart$ gcc test.c -o test > test.c:3:2: error: #error GNU gcc claims to be Apple_cc > > So it is broken. Probably it is picking up a wrong header somewhere. > So I don't think this is an MPIR issue. > > Bill.
Agreed. That looks like a broken gcc. I think that Apple is currently only supporting gcc versions up to 4.2.x, so it may be that gcc 4.3.x won't compile correctly on OS X yet. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "mpir-devel" group. To post to this group, send email to mpir-devel@googlegroups.com To unsubscribe from this group, send email to mpir-devel+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/mpir-devel?hl=en -~----------~----~----~----~------~----~------~--~---