Thank you for your reply. As suggested, I added the "-o myapp.prc" option to build-prc and it worked. I'm surprised it was something as simple as that. But nonetheless, I'm glad that you gained some insight into further improving these excellent tools via my simple issue.
If it is helpful for you to know, I followed the instructions under the "Special Projects - Multisegmenting existing code" section in the prc-tools manual.
Thanks again.
Madhav
----Original Message Follows---- From: John Marshall <[EMAIL PROTECTED]> Reply-To: "Palm Developer Forum" <[EMAIL PROTECTED]> To: "Palm Developer Forum" <[EMAIL PROTECTED]> Subject: Re: Build-prc: multisegmented code Date: Thu, 3 Jul 2003 20:06:24 +0200
Madhav Pulapaka wrote: > This took care of the linker errors but now build-prc is not able to > process my BFD executable, showing me the following: > > build-prc myapp.prc myapp.def myapp *.bin > myapp.prc: resource 'code' #1 is missing
You need to reread what the instructions say about definition file use requiring the use of the new-style build-prc syntax. You mean "-o myapp.prc"; or just omit it, because that will be the default.
Admittedly I'm surprised that that was the particular error message you got! That might warrant looking into.
> OBJS = file1.o file2.o file3.o MathLib.o myapp-sections.o > CFLAGS = -Wl,-Map -Wl,myfile.map
(If he wants to get a map file, that's great -- although I never know why people don't use -Wl,-Map,myfile.map if they're going to use the comma syntax :-); he *is* using myapp-sections.s as well.)
John
--
For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
_________________________________________________________________
Design your holidays. At your convenience. http://www.flexihols.com/2003/index.php Click here.
-- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
