On Fri, Jun 03, 2005 at 09:20:05AM -0700, David Fedor wrote: > > > >How does one build PalmOS5 ARM apps. It can't be that the only way is > > > >to build m68k apps using prc-tools and then execute them on-device > > > >using PACE. > > > > > > There is an ARM tool-chain on PalmSource, iirc. At the end you get some > > > arm-palmos-xxx.exe commands, similar to the m68k-palmos-xxx.exe you > > > already have isntalled. Then you just write your ARM code, complie it > > > with arm-palmos-gcc, link it and put the result into a resource. Find > > > the resource at runtime, lock them and call it. > > > > Well, I would very much like to have that tool chain. Unfortunately > > in the PODS that I downloaded it is definitely not included. > > PODS does indeed have the tools to do native ARM coding. Choose "New > Project" and select "Managed Make 68K PNO C/C++ Project", then go through > the wizard choosing "Simple Application" on the 3rd screen. It is all set > up for you with NativeCallTestApp.c being the 68k app wrapper which does > the UI work, and also a PNOMain.c which contains the code which you want to > have at maximum speed.
Umm, I'm missing something. How can it compile ARM code without an ARM compiler? Does the m68k compiler use a different assembler for this PNO code? Doesn't seem likely since there is no arm-palmos-as.exe in the distribution. Doesn't really matter in the end. As downloaded the PODS installation has these compilers: ~$ find /usr -name '*gcc*.exe' /usr/bin/gcc.exe /usr/bin/i686-pc-cygwin-gcc-3.3.1.exe /usr/bin/i686-pc-cygwin-gcc.exe /usr/bin/m68k-palmos-gcc.exe /usr/m68k-palmos/bin/gcc.exe /usr/bin/gcc -dumpspecs shows it is not an ARM cross compiler. There don't seem to be any arm tools, find of '*arm*.exe' and '*ARM*.exe' yield nothing, I haven't tried *Arm* but I wouldn't be hopeful. Unless I'm very much mistaken, that is insufficient to build arm objects. At this point I'm really only interested in compilers. I have to make sure that our code builds on the palm system. But there was no point in starting that work while unsure that I could build ARM code. I was not diligent enough on the prc-tools download site, I missed the fact that there are TWO rpm's one for m68k, and one for arm. I am now porting our libraries. Presumably with the arm build of the prc-tools, and with PilRC and the 5r4 SDK it's possible to build an executable that can run on a Treo 6x0? PODS itself is unnecessary, correct? Mark. -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
