GCC and symlink are incompatibility on 64-bit windows

Lu Sheng foretribe@gmail.com
Tue Jun 11 00:34:00 GMT 2013


Hi

I'm running windows 8 64 -bit, and I installed cygwin 1.7 for I want
to install lxml module of python.
the command as:

pip install lxml

during the running it need to run

E:\cygwin\bin\gcc.exe -mcygwin -mdll -O -Wall -Ic:\users\it-04\appdata\local\tem
p\pip-build-IT-04\lxml\src\lxml\includes -IC:\Python27\include -IC:\Python27\PC
-c src\lxml\lxml.etree.c -o build\temp.win-amd64-2.7\Release\src\lxml\lxml.etree
.o

when this command run, I will received the error message:

Unsupported 16-Bit Application

The program or feature "*****\gcc.exe" cannot start or run due to
incompatibity with 64-bit versions
 of Windows. Please contact the software vendor to ask if a 64-bit
Windows compatible version is available.

I to change the name of gcc-4.exe to gcc.exe and It give me
Incomprehensible error message as below:

In file included from C:\Python27\include/Python.h:86:0,

                 from src\lxml\lxml.etree.c:16:

C:\Python27\include/intobject.h:46:35: error: expected ΓÇÿ=ΓÇÖ, ΓÇÿ,ΓÇÖ, ΓÇÿ;ΓÇÖ
, ΓÇÿasmΓÇÖ or ΓÇÿ__attribute__ΓÇÖ before ΓÇÿPyInt_AsUnsignedLongLongMaskΓÇÖ

In file included from C:\Python27\include/Python.h:88:0,

                 from src\lxml\lxml.etree.c:16:

C:\Python27\include/longobject.h:50:1: warning: parameter names (without types)
in function declaration

C:\Python27\include/longobject.h:52:26: error: expected ΓÇÿ=ΓÇÖ, ΓÇÿ,ΓÇÖ, ΓÇÿ;ΓÇ
Ö, ΓÇÿasmΓÇÖ or ΓÇÿ__attribute__ΓÇÖ before ΓÇÿPyLong_AsLongLongΓÇÖ

C:\Python27\include/longobject.h:53:35: error: expected ΓÇÿ=ΓÇÖ, ΓÇÿ,ΓÇÖ, ΓÇÿ;ΓÇ
Ö, ΓÇÿasmΓÇÖ or ΓÇÿ__attribute__ΓÇÖ before ΓÇÿPyLong_AsUnsignedLongLongΓÇÖ

C:\Python27\include/longobject.h:54:35: error: expected ΓÇÿ=ΓÇÖ, ΓÇÿ,ΓÇÖ, ΓÇÿ;ΓÇ
Ö, ΓÇÿasmΓÇÖ or ΓÇÿ__attribute__ΓÇÖ before ΓÇÿPyLong_AsUnsignedLongLongMaskΓÇÖ

C:\Python27\include/longobject.h:55:26: error: expected ΓÇÿ=ΓÇÖ, ΓÇÿ,ΓÇÖ, ΓÇÿ;ΓÇ
Ö, ΓÇÿasmΓÇÖ or ΓÇÿ__attribute__ΓÇÖ before ΓÇÿPyLong_AsLongLongAndOverflowΓÇÖ

In file included from src\lxml\lxml.etree.c:314:0:

Regards
ShengLu

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple



More information about the Cygwin mailing list