Hi all,
      I'm having trouble creating DLL files.
      I used the arm-wince-mingw32ce-gcc (
cygwin-cegcc-mingw32ce-0.51.0-1.tar.gz<http://downloads.sourceforge.net/cegcc/cygwin-cegcc-mingw32ce-0.51.0-1.tar.gz?modtime=1202488377&big_mirror=0>.)to
compile the dll for target os wince 5.2. the cflag was " -O2  -pipe
-D_WIN32_WCE=0x502 -D__MINGW32CE__ -D_MBCS", the dll was builded successful.
but when i used this dll in vs 2005 and run on the mobile based on wince 5.2
, the error was reported "the file is not a valid windows ce application".

     the dll build method was below :
    arm-wince-mingw32ce-ar  rsv *.obj libvopersivr.a
    arm-wince-mingw32ce-gcc  -shared -o libstt.dll   -Wl --out-implib,
libvopersivr.a

     I used the depends tools of vc 6.0 to look up the dll . the interfaces
were right. and i used the same method to build the simple another dll
described at "
http://www.ibm.com/developerworks/aix/library/au-porting/index.html";.  the
dll  worked very well. i was puzzled.
      Can you help me to resolved this question . thanks.

Best regards
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Cegcc-devel mailing list
Cegcc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cegcc-devel

Reply via email to