You are correct is is not the device. It seems it might be some sort of linking issue with COREDLL and coredll.dll

More specifically I compile gosmore (source at http://svn.openstreetmap.org/applications/rendering/gosmore/ ) using cygwin-cegcc-mingw32ce-0.51.0-1.tar.gz and in the resultant gosm_arm.exe file when dumped shows:

$ arm-wince-cegcc-objdump -x gosm_arm.exe
...
The Import Tables (interpreted .idata section contents)
 vma:            Hint    Time      Forward  DLL       First
                 Table   Stamp     Chain    Name      Thunk
 001c3000       001c3040 00000000 00000000 001c3aec 001c3228

        DLL Name: coredll.dll
        vma:  Hint/Ord Member-Name Bound-To
        1c340c     21  _stricmp

 001c3014       001c304c 00000000 00000000 001c3ccc 001c3234

        DLL Name: COREDLL
        vma:  Hint/Ord Member-Name Bound-To
        1c3418     39  BeginPaint
        1c3428     42  BitBlt
...
with _stricimp being the solitary function obtained from "coredll.dll" with the rest from "COREDLL"

This seems a bit strange to have two DLLs differing only in case and extension, should it be one only?

Alex

cygwin-cegcc-mingw32ce-0.51.0-1.tar.gz

On 17/05/2009 6:22 PM, Danny Backx wrote:
I am not certain about your assessment. If your device has an arm920t
then according to http://en.wikipedia.org/wiki/ARM_architecture (if I
read it correctly) this should not be the problem.

Can you specify in more detail what works and what doesn't, so we can
try to assess where the problem is ?

You mention some libraries that cause the problem. Which libraries are
that ? How were they compiled ?

        Danny

On Sun, 2009-05-17 at 14:13 +0930, Alex Sims wrote:
I'm trying to compile Gosmore using arm-wince-mingw32ce-gcc to run on a low end 
GPS device with a arm920t processor.

For some reason the WinCE 5.0 on the device will not run binaries with armv4 
architecture but insists on armv3m architecture.

I can compile setting -march=armv3m which works fine for the object files but 
the linked libraries are armv4 and hence the application picks up armv4.

How do I get standard libraries from cegcc with the armv3m architecture?

(Or alternatively what do I change so the resultant binaries run on an arm4t 
processor happily)?


------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables 
unlimited royalty-free distribution of the report engine 
for externally facing server and web deployment. 
http://p.sf.net/sfu/businessobjects
_______________________________________________
Cegcc-devel mailing list
Cegcc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cegcc-devel

Reply via email to