You would probably need to build gcc as a cross-compiler for
something like wince-arm (the platform seems to be supported by gcc),
if you can't find a pre-built binary.
As for why you can't build win32-x86, are you sure you have mingw
installed (it's a package additional to the normal gcc one)?
What are os.name and os.arch for your platform?
On Oct 29, 2007, at 5:40 AM, youc...@free.fr wrote:
Thank you for your help.
My platform is HHP 9500 (Intel X-Scale, thus ARM) running IBM
WebSphere Every
Place MicroEdition 6.1.1 (J9 CDC 1.1) with Windows Mobile 2003
Second Edition.
Of course, I can build if you send me the changes for native/Makefile.
I don't whow if gcc support this.
I can not even compile for the platform win32-x86.
--------------------------------
native:
[exec] gcc -o ../build/native/jnidispatch.dll -shared
-Wl,-soname,../build/native/jnidispatch.dll -static-libgcc -mno-cygwin
-Wl,--add-stdcall-alias -specs ../build/native/spe
[exec] /lib/gcc-lib/i686-pc-cygwin/3.3.3/crtbegin.o:crtstuff.c:
(.text+0x5):
undefined reference to `__w32_sharedptr_initialize'
[exec] fu000001.o:: undefined reference to `libc_iname'
[exec] fu000002.o:: undefined reference to `libc_iname'
[exec] fu000003.o:: undefined reference to `libc_iname'
[exec] fu000004.o:: undefined reference to `libc_iname'
[exec] Info: resolving __impure_ptr by linking to
__imp___impure_ptr
(auto-import)
[exec] make: *** [../build/native/jnidispatch.dll] Error 1
BUILD FAILED
----------------------------------------------------