10 messages in net.java.dev.jna.usersRe: [jna-users] JNA & Windows mobile
FromSent OnAttachments
youc...@free.frOct 28, 2007 2:22 pm 
Timothy WallOct 28, 2007 2:42 pm 
youc...@free.frOct 29, 2007 2:40 am 
Timothy WallOct 29, 2007 5:41 am 
Timothy WallOct 29, 2007 5:52 am 
youc...@free.frOct 29, 2007 1:01 pm 
Timothy WallOct 29, 2007 2:02 pm 
youc...@free.frOct 30, 2007 11:55 am 
Timothy WallOct 30, 2007 12:50 pm 
Youcef HILEMOct 31, 2007 2:57 pm 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: [jna-users] JNA & Windows mobileActions...
From:Timothy Wall (twal@dev.java.net)
Date:Oct 29, 2007 5:41:49 am
List:net.java.dev.jna.users

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

----------------------------------------------------