[Numpy-discussion] Building NumPy on Mac OS X without Apple GCC

David Cournapeau david at ar.media.kyoto-u.ac.jp
Thu Nov 29 03:53:16 EST 2007


Joshua Lippai wrote:
>
> Thanks, it worked perfectly. I'd hate to be a little off topic in the
> NumPy discussion and bug you, but when I try to compile the latest
> scipy, I get:
>
> g++: unrecognized option '-no-cpp-precomp'
> cc1plus: error: unrecognized command line option "-arch"
> cc1plus: error: unrecognized command line option "-arch"
> cc1plus: error: unrecognized command line option "-Wno-long-double"
> g++: unrecognized option '-no-cpp-precomp'
> cc1plus: error: unrecognized command line option "-arch"
> cc1plus: error: unrecognized command line option "-arch"
> cc1plus: error: unrecognized command line option "-Wno-long-double"
>
> And I assume from the way it looks that it's due to a similar reason
> as my previous compiling problem. I tried adding in
> CCplus=/usr/bin/g++ but it doesn't seem to do the trick. Again, sorry
> to keep bugging on an issue I created in my compiling environment, but
> is there something different I should be typing?
>   
The usual makefile variable for c++ makefiles is CXX, not CCplus, so I 
would suggest trying that first.

David



More information about the NumPy-Discussion mailing list