[Pythonmac-SIG] gcc error

Seamus O'Shea oshea at uleth.ca
Wed May 19 21:05:31 EDT 2004


Right in one.

~ > gcc --version
gcc (GCC) 3.3
Copyright (C) 2003 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is  
NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR  
PURPOSE.

~ > gcc -no-cpp-precmp
gcc: unrecognized option `-no-cpp-precmp'
gcc: no input files
~ > gcc -no-cpp-precomp-blablabla
gcc: unrecognized option `-no-cpp-precomp-blablabla'
gcc: no input files

Wrong gcc 3.3, wherever it came from!  I will trash them all and  
reinstall from the Apple disks.

Many thanks.




On May 19, 2004, at 2:58 AM, Jack Jansen wrote:

>
> 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 NO
> warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR  
> PURPOSE.
>
> $ 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  
> Goldman
>
>
Dr. Séamus F. O'Shea
Professor of Chemistry
Vice President (Academic) & Provost
University of Lethbridge
(403) 329-2202
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: text/enriched
Size: 2841 bytes
Desc: not available
Url : http://mail.python.org/pipermail/pythonmac-sig/attachments/20040519/a4291ba3/attachment.bin


More information about the Pythonmac-SIG mailing list