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

Joshua Lippai discerptor@gmail....
Thu Nov 29 03:34:27 CST 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
>
> _______________________________________________
> Numpy-discussion mailing list
> Numpy-discussion@scipy.org
> http://projects.scipy.org/mailman/listinfo/numpy-discussion
>

Thanks, that did it. Everything's building correctly again.


More information about the Numpy-discussion mailing list