Recent

Author Topic: Cross Compilation For ARM:Success! Now Win32 Broken :-/  (Read 20247 times)

HasTheBlues

  • New Member
  • *
  • Posts: 11
Cross Compilation For ARM:Success! Now Win32 Broken :-/
« Reply #15 on: September 04, 2007, 02:23:17 pm »
Hello Marc

I just tried the application on the PDA.

It executed with no major issues (HURRAY!!!) appart perhaps that it was somewhat slow in launching...It could be my idea though.

Again, many thanks to all of you for your help.

Marc

  • Administrator
  • Hero Member
  • *
  • Posts: 2648
Cross Compilation For ARM:Success! Now Win32 Broken :-/
« Reply #16 on: September 05, 2007, 11:18:17 am »
maybe you can strip it, to make it smaller. Don't know if that helps. I only use wince for debugging, and since my own device has only usb 1.1 I use an emulater for faster uploads.
//--
{$I stdsig.inc}
//-I still can't read someones mind
//-Bugs reported here will be forgotten. Use the bug tracker

HasTheBlues

  • New Member
  • *
  • Posts: 11
Cross Compilation For ARM:Success! Now Win32 Broken :-/
« Reply #17 on: September 05, 2007, 11:38:56 am »
I uploaded the program through an SD card...

The delay i mention in an earlier post was between double clicking the executable on "File Explorer" and actually seeing the form. The PDA runs at 620MHz so it is probably the SD card which is a generic one (not those, Digital Camera fast ones) that is responsible for the slow start.

The MS Device Emulator is a very useful tool for quick tests.

I have not gone into optimisations just yet, for sure i could strip the executable off the debug symbols and maybe crank up the -O level in the compiler (Although i do not have repetitive tasks just yet)....But for the time i want to bring the application up and running first and then start optimising it.

Thanks for the response.

Marc

  • Administrator
  • Hero Member
  • *
  • Posts: 2648
Cross Compilation For ARM:Success! Now Win32 Broken :-/
« Reply #18 on: September 06, 2007, 11:14:40 am »
I don't know in your case, but in case if my old ipaq, it cannut run executables from sd. So it copies the exe first to its own "disk" before executing. Mayby that is happening in your case too.
//--
{$I stdsig.inc}
//-I still can't read someones mind
//-Bugs reported here will be forgotten. Use the bug tracker

HasTheBlues

  • New Member
  • *
  • Posts: 11
Cross Compilation For ARM:Success! Now Win32 Broken :-/
« Reply #19 on: September 06, 2007, 11:33:08 am »
Hello

I don't know if a transfer to the Ram Disk takes place behind the scenes, but judging by it's behaviour i think it can in fact launch programs directly from the SD. It's an Axim X51. Shame there is no decent Linux distribution for it.

Having said this and to avoid a million replies to this post,  trying to prove the opposite, let me just say that "Yes there is a linux distribution that you can install on the Axim (maintained by some very helpful folks over at handhelds.org) but it does not yet have support for all the devices (like BT, WiFi, front panel buttons, SD card, status LED's etc)". There, i hope this saves us the blitzkrieg (Just kidding) :-)

 

TinyPortal © 2005-2018