Re: Multi-section apps / calling functions

2003-03-30 Thread John Marshall
On Mon, Mar 24, 2003 at 08:13:01PM -0700, Eddie Ludema wrote: SRC=$(APP).c section1.c section2.c SECTIONS=$(APP)-sections CC=m68k-palmos-gcc MULTIGEN=m68c-palmos-multigen ...you would think that the typo here was a signal that $(MULTIGEN) is not in fact being used... $(APP): $(SRC:.c=.o)

Re: Multi-section apps / calling functions

2003-03-25 Thread Eddie Ludema
I was thinking that the multi-segment gurus might be getting tired of the repeated posts on the woes of multi-segmented code. Could somebody point me to some good solid source code examples that implement multiple segments using PRC-Tools? I'm sure I'm just missing something simple and have

RE: Multi-section apps / calling functions

2003-03-25 Thread dennis
this helps. Dennis Leas --- [EMAIL PROTECTED] -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Eddie Ludema Sent: Tuesday, March 25, 2003 9:25 PM To: Palm Developer Forum Subject: Re: Multi-section apps / calling functions I was thinking

RE: Multi-section apps / calling functions

2003-03-25 Thread Eddie Ludema
Thanks for the reply Dennis! I really appreciate the help. I tried to make the code as simple as I could and put it all in one file (like you were mentioning), just to see if I could even get that to work. I still get that same error though - aaargh... Here's some revamped, simplified code.

RE: Multi-section apps / calling functions

2003-03-25 Thread dennis
Ludema Sent: Tuesday, March 25, 2003 10:51 PM To: Palm Developer Forum Subject: RE: Multi-section apps / calling functions Thanks for the reply Dennis! I really appreciate the help. I tried to make the code as simple as I could and put it all in one file (like you were mentioning), just to see if I

RE: Multi-section apps / calling functions

2003-03-25 Thread Eddie Ludema
Woo hoo! That little batch file worked great! Thank you! Now I'll fiddle with it with multiple .c files. I'll look over my makefile again. I grew up programming in DOS and never really spent the time to learn the fine details of make. I guess its finally time... I'll let you know how it

Multi-section apps / calling functions

2003-03-24 Thread Eddie Ludema
Greets! I know that multi-segment code has already been discussed several times on this forum and I've studied them over, but I'm still stumped. Here's my problem... I broke the 32k jump limit in my app and I'm sure that it will soon break the 64k limit. I've gone through several examples

Re: Multi-section apps / calling functions

2003-03-24 Thread Eddie Ludema
I was looking over my post and thought I ought to post my makefile along with it... # pretty much taken from Lonnon Foster's book # the fixes to the newer style for build-prc and a few other ditties have been added VERSION=1.0 APP=myMain ICONTEXT=My Main APPID=fooMain RCP=$(APP).rcp