[python-win32] Can't see Python27.dll on Win 7
Bill Janssen
janssen at parc.com
Tue Nov 23 22:56:53 CET 2010
Tim Roberts <timr at probo.com> wrote:
> Bill Janssen wrote:
> >
> > So, if I "cd" to "/c/Windows/System32", and do "ls -l python27.dll",
> > it's really looking at "/c/Windows/SysWOW64" instead? That's why I see
> > it with msys's "ls" and "file", but not with cmd.exe and "dir", or
> > depends.exe?
>
> Yes, although "depends" should be smart enough to find it, assuming you
> have a 32-bit executable. If your root executable is 64-bit, then you
> will need to install a 64-bit Python. Unlike the 16/32 days, there is
> no thunking. A 64-bit app cannot load a 32-bit DLL, nor vice versa.
No, I'm carefully using 32-bit Python and 32-bit Java. My guess is that
the compilation of the JCC module is going wrong somehow. Perhaps the
wrong linker flags:
C:\MinGW\bin\g++.exe -mno-cygwin -shared -s
build\temp.win32-2.7\Release\jcc\sources\jcc.o
build\temp.win32-2.7\Release\jcc\sources\jccenv.o
build\temp.win32-2.7\Release\jcc\sources\jobject.o
build\temp.win32-2.7\Release\jcc\sources\jarray.o
build\temp.win32-2.7\Release\jcc\sources\functions.o
build\temp.win32-2.7\Release\jcc\sources\types.o
build\temp.win32-2.7\Release\_jcc\boot.o
build\temp.win32-2.7\Release\_jcc\java\io\printwriter.o
build\temp.win32-2.7\Release\_jcc\java\io\stringwriter.o
build\temp.win32-2.7\Release\_jcc\java\io\writer.o
build\temp.win32-2.7\Release\_jcc\java\io\__init__.o
build\temp.win32-2.7\Release\_jcc\java\lang\boolean.o
build\temp.win32-2.7\Release\_jcc\java\lang\byte.o
build\temp.win32-2.7\Release\_jcc\java\lang\character.o
build\temp.win32-2.7\Release\_jcc\java\lang\class.o
build\temp.win32-2.7\Release\_jcc\java\lang\double.o
build\temp.win32-2.7\Release\_jcc\java\lang\exception.o
build\temp.win32-2.7\Release\_jcc\java\lang\float.o
build\temp.win32-2.7\Release\_jcc\java\lang\integer.o
build\temp.win32-2.7\Release\_jcc\java\lang\long.o
build\temp.win32-2.7\Release\_jcc\java\lang\object.o
build\temp.win32-2.7\Release\_jcc\java\lang\runtimeexception.o
build\temp.win32-2.7\Release\_jcc\java\lang\short.o
build\temp.win32-2.7\Release\_jcc\java\lang\string.o
build\temp.win32-2.7\Release\_jcc\java\lang\throwable.o
build\temp.win32-2.7\Release\_jcc\java\lang\__init__.o
build\temp.win32-2.7\Release\_jcc\java\lang\reflect\constructor.o
build\temp.win32-2.7\Release\_jcc\java\lang\reflect\field.o
build\temp.win32-2.7\Release\_jcc\java\lang\reflect\genericarraytype.o
build\temp.win32-2.7\Release\_jcc\java\lang\reflect\genericdeclaration.o
build\temp.win32-2.7\Release\_jcc\java\lang\reflect\method.o
build\temp.win32-2.7\Release\_jcc\java\lang\reflect\modifier.o
build\temp.win32-2.7\Release\_jcc\java\lang\reflect\parameterizedtype.o
build\temp.win32-2.7\Release\_jcc\java\lang\reflect\type.o
build\temp.win32-2.7\Release\_jcc\java\lang\reflect\typevariable.o
build\temp.win32-2.7\Release\_jcc\java\lang\reflect\wildcardtype.o
build\temp.win32-2.7\Release\_jcc\java\lang\reflect\__init__.o
build\temp.win32-2.7\Release\_jcc\java\util\enumeration.o
build\temp.win32-2.7\Release\_jcc\java\util\iterator.o
build\temp.win32-2.7\Release\jcc\sources\_jcc.def
-Lc:\Python27\libs
-Lc:\Python27\PCbuild -lpython27 -lmsvcr90
-o build\lib.win32-2.7\jcc\_jcc.pyd
"-LC:\Program Files (x86)\Java\jdk1.6.0_22/lib"
-ljvm -Wl,--enable-auto-import -Wl,-S
Bill
More information about the python-win32
mailing list