Hi there,
I am using Fred Bayers linking suggestions to increase the size of my app
beyond 32K. (See http://www.lispme.de/lispme/gcc/tech.html)
It has been working fine for months under gcc with SDK 3.3
Now, upgrading my gcc app to use SDK 3.5 and the new prc-tools 2.0, I am
getting a 'line 1111 instruction' error in UIAppShell immediately the
application starts up. This happens on the 3.5 debug ROM, non-debug ROM and
the real device.
My link commands are:
m68k-palmos-gcc -O1 -nostartfiles start.o CopyWrite1.o "c:\program
files\prc-tools\h-i586-cygwin32\m68k-palmos\lib\crt0.o" CopyWrite2.o
PalmPilot.o FileWrite.o -o CopyWrite
When using the gdb debugger, the app starts up and breaks into gdb with a
blank screen as usual at the initial program counter value. After typing the
'cont' command, it immediately fails (SIGILL from memory) showing the
same program counter value as the initial break, whihc makes me suspect that
my start.c code is no longer applicable.
Has something changed to make Fred's '32K limit workaround' no longer
applicable?
Is there some other easy way around the 32K limit with 3.5 (apart from
multiple segments?)
My start.c code is as follows:
=======================
extern unsigned long start();
unsigned long myStart()
{
return start();
}
=======================
Many thanks,
Robert Crago
Revelation Computing Pty Limited
PO Box 459, ASPLEY
Brisbane, Australia 4034
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palm.com/devzone/mailinglists.html