Solving your Palm Debugger Bad Line Count problem (in multi source projects)


A good starting point is to download one of Aaron Ardiri's examples ( 
http://www.ardiri.com/index.php?redir=palm&cat=burning&subcat=download ) and modify 
the project's make file in the following way.


Go to the end of '# source / outputs' and add the line
DBUG     = $(EXEC).code.1.sym

Add the -g compiler flag under '# compiler flags' 
CCFLAGS = -O2 -g -Wall -palmos4

Under '# compile requirements'
modify line
$(BUILDPRC) $(EXEC).def $(EXEC) *.bin 
to
$(BUILDPRC) $(EXEC).def $(DBUG) *.bin
and
$(CC) $(OBJS) $(CCFLAGS) -o $(EXEC) 
to
$(CC) $(OBJS) $(CCFLAGS) -o $(DBUG)

Happy Debugging

Thank you Aaron

Klaus

Oh, by the way, make the best Search Engine on the Internet, your startpage. Click on 
this link: http://www.searchalot.com/homepage.htm

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/

Reply via email to