Yes, i use -g flag, here is a piece of my makefile:
GCC=m68k-palmos-gcc.exe -Wmissing-declarations -g
app.prc: app.def app.ro app
build-prc.exe -o app.prc app.def app app.ro
app_segments.ld app_segments.s: app.def
m68k-palmos-multigen.exe -b app_segments app.def
for each file of my project there's this line:
file.o: file.c file.h app_segments.s
$(GCC) -c $(basename $@).c app_segments.s
the final link is this:
app: app_segments.ld $(OBJ) $(SRC)
$(GCC) -o app $(OBJ) app_segments.ld -lPalmOSGlue
Then, everytime I call $(GCC) I do the work with the -g flag...
The problem remains: I can open "app.prc", append the COFF file "app" but can't see
any code...
BrownB
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/support/forums/