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 goes with the multiple .c files.
Thanks again! Eddie
Hmmm, my project uses a simple .bat file instead of a makefile. But here's most of it:
---------------------------------- pilrc.exe EDPDA.rcp cls echo Step 0 ----------------------------------------------------- m68k-palmos-multigen EDPDA.def m68k-palmos-gcc -c EDPDA-sections.s echo Step 1 ----------------------------------------------------- m68k-palmos-gcc -g -I /PalmDev/sdk-4/include/Handspring/PalmDev/include/Handspring -DDEBUG -c EDPDA.c -o EDPDA.o echo Step 2 ----------------------------------------------------- m68k-palmos-gcc -g -DDEBUG EDPDA.o EDPDA-sections.o -o EDPDA EDPDA-sections.ld echo Step 3 ----------------------------------------------------- REM m68k-palmos-obj-res EDPDA echo Step 4 ----------------------------------------------------- build-prc EDPDA.def -o EDPDA.prc -n "EDPDA" -c GTSa EDPDA *.bin ----------------------------------
And the only thing I notice is the assembly/linking of EDPDA-sections.s (obviously myMain-Sections.s in your case). I'm not sure that I see this taking place in your makefile.
Dennis Leas
_________________________________________________________________
Help STOP SPAM with the new MSN 8 and get 2 months FREE* http://join.msn.com/?page=features/junkmail
-- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
