[Pythonmac-SIG] gcc error

Jack Jansen Jack.Jansen at cwi.nl
Wed May 19 04:58:21 EDT 2004

On 18-mei-04, at 15:20, Seamus O'Shea wrote:

> Thanks for the response. In reply:
> I don't think so.  I installed the recent developer tools, but I can  
> get the error using the older compiler
> numarray-0.9 > sudo /usr/sbin/gcc_select 2
> Default compiler has been set to:
> Apple Computer, Inc. version gcc-938, based on gcc version 2.95.2  
> 19991024 (release)
> numarray-0.9 > python setup.py build
> Using EXTRA_COMPILE_ARGS = ['-Ddarwin']
> running build
> running build_py
> copying Lib/numinclude.py ->  
> build/lib.darwin-7.3.0-Power_Macintosh-2.3/numarray
> running build_ext
> building 'numarray._conv' extension
> gcc -fno-strict-aliasing -Wno-long-double -no-cpp-precomp  
> -mno-fused-madd -fno-common -dynamic -DNDEBUG -g -O3 -Wall  
> -Wstrict-prototypes -IInclude/numarray  
> -I/System/Library/Frameworks/Python.framework/Versions/2.3/include/ 
> python2.3 -c Src/_convmodule.c -o  
> build/temp.darwin-7.3.0-Power_Macintosh-2.3/Src/_convmodule.o -Ddarwin
> gcc: unrecognized option `-no-cpp-precomp'
> gcc: installation problem, cannot exec `cc1': No such file or directory
> error: command 'gcc' failed with exit status 1
> I find it difficult to figure out where it is setting the various  
> options, etc.  Can you suggest a useful source to read for a coherent  
> overview of what's supposed to happen?

I still have the feeling that there's something else called "gcc"  
lurking on your $PATH. Could you try the following three commands, just  
to make sure?

$ gcc --version
gcc (GCC) 3.3 20030304 (Apple Computer, Inc. build 1640)
Copyright (C) 2002 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is  

$ gcc -no-cpp-precomp
gcc: no input files

$ gcc -no-cpp-precomp-blablabla
gcc: unrecognized option `-no-cpp-precomp-blablabla'
gcc: no input files

Jack Jansen, <Jack.Jansen at cwi.nl>, http://www.cwi.nl/~jack
If I can't dance I don't want to be part of your revolution -- Emma  

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: text/enriched
Size: 2055 bytes
Desc: not available
Url : http://mail.python.org/pipermail/pythonmac-sig/attachments/20040519/233cde95/attachment.bin

More information about the Pythonmac-SIG mailing list