> prc-tools 0.5.0/0.6.0/2.0/2.0.90? which one you using?
I can't figure out how to tell for sure, but it looks like I'm using
prc-tools-2.0-1. (rpm -q says its the latest version installed. What
should I look at to tell?)
To create multi segments, I create a .def file, and then assign functions
to sections with my .c.
Just to keep things in context, here's (most) of my original message:
-mycroft-> make
m68k-palmos-gcc -static -g -O3 -I/usr/palm/m68k-palmos-coff/include/PalmOS
-I/usr/palm/m68k-palmos-coff/include
-I/usr/palm/m68k-palmos-coff/include/PalmOS/System
-I/usr/palm/m68k-palmos-coff/include/PalmOS/Hardware
-I/usr/palm/m68k-palmos-coff/include/PalmOS/UI -c app.c -o app.o
/tmp/ccicGGCR.s: Assembler messages:
/tmp/ccicGGCR.s:27940: Error: Value of -33508 too large for field of 2 bytes at 0x726c
/tmp/ccicGGCR.s:27940: Error: value out of range
make: *** [app.o] Error 1
-mycroft->
I've tried adding another segment, and while I can get it to compile
with the third segment, I still can't get the function call to work.
I've tried several other things as well. I've moved the offending
function to a different place in the .c -- which makes things worse.
I've moved some functions to different segments -- no change. I've made
the largest segment smaller. Again no change.
What do I need to do to fix this error, and what do I need to do to keep
similar errors from occuring in the future?
Thanks,
Sean.
---
Sean L. Gilley I have come to doubt all that I once held as true.
[EMAIL PROTECTED] I stand alone, without beliefs...
http://www.desert-penguin.com
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/