unrecognized option '-no-cpp-precomp' on Mac OS X (10.4.3)

Mike Stump mrs@apple.com
Wed Dec 14 21:41:00 GMT 2005


On Dec 14, 2005, at 12:52 PM, Paul Martinolich wrote:
> I have built gcc-4.1-20051209 successfully and while using it to  
> try to
> compile Python-2.4.2, I get this error:
>
> /Users/martinol/auto_v4.0/devel/powerpc-apple-darwin8.3.0/bin/gcc - 
> c -fno-strict-aliasing -Wno-long-double -no-cpp-precomp -mno-fused- 
> madd -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I/Users/ 
> martinol/build-magnesium/Python-2.4.2/Include  -DPy_BUILD_CORE -o  
> Modules/python.o /Users/martinol/build-magnesium/Python-2.4.2/ 
> Modules/python.c
> gcc: unrecognized option '-no-cpp-precomp'

This flag should be removed from the compile, it hasn't been needed  
in a long while (since gcc-3.1).

> cc1: error: unrecognized command line option "-Wno-long-double"

This project was meant to compile with Apple's gcc, you could try it  
instead.



More information about the Gcc mailing list