Hi Pearu, Using just "python setup.py build" I get the following change in the same error:
... compile options: '-I/usr/local/include/python2.5 -Inumpy/core/src -Inumpy/core/include -I/usr/local/include/python2.5 -c' gcc: _configtest.c gcc _configtest.o -L/usr/local/lib -L/usr/lib -o _configtest.exe /usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../i686-pc-cygwin/bin/ld: crt0.o: No such file: No such file or directory collect2: ld returned 1 exit status /usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../i686-pc-cygwin/bin/ld: crt0.o: No such file: No such file or directory collect2: ld returned 1 exit status failure. removing: _configtest.c _configtest.o Traceback (most recent call last): ... I completely remove the build directory between builds, just in case this helps. Thanks a lot, and greetings, Javier -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Pearu Peterson Sent: viernes, 10 de agosto de 2007 10:23 To: Discussion of Numerical Python Subject: Re: [Numpy-discussion] Fail to compile Numpy on Cygwin On Fri, August 10, 2007 11:01 am, Javier Maria Torres (MI/EEM) wrote: > Hi, > > I get the following output when trying to compile the latest Numpy SVN > snapshot on Cygwin (gcc 3.4.4) and Python (Cygwin-installed, 2.5.1; I > also have the Windows version installed, this might cause problems?). > I also include the (meager) site.cfg used. I would appreciate any comment. In your build command python setup.py config --compiler=mingw32 build --compiler=mingw32 install you are not using cygwin gcc compiler but mingw32. I think you cannot do this - don't ask why, some time ago I failed to determine the cause. Anyway, under cygwin just try python setup.py build then it should just pick up cygwin compiler. Or, execute python setup.py config --compiler=mingw32 build --compiler=mingw32 install from Windows cmd line. HTH, Pearu _______________________________________________ Numpy-discussion mailing list [email protected] http://projects.scipy.org/mailman/listinfo/numpy-discussion _______________________________________________ Numpy-discussion mailing list [email protected] http://projects.scipy.org/mailman/listinfo/numpy-discussion
