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

Paul Martinolich martinol@nrlssc.navy.mil
Wed Dec 14 21:04:00 GMT 2005


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'
cc1: error: unrecognized command line option "-Wno-long-double"
make[1]: *** [Modules/python.o] Error 1
make: *** [python-build] Error 2


Using grep, I see stage1 flags that use this option.  However, the on- 
line documentation did not
seem to have this option in it -- at least not in the section dealing  
with command line options
for the CPP.

Any ideas where it might have gone?  Is it an "internal" option?

Paul



More information about the Gcc mailing list