Hi, I usually compile fpc with "make clean all", this builds everything for RELEASE. How can I compile this with Debug info?
Thanks, in advance,
Leonardo M. Ramé
http://leonardorame.blogspot.com

Mailing lists / fpc-devel / 2011-02
6 messages · 3 people · –
Reply by email Subscribe to this list Your subscription
Read-only archive. Use j and k to move between messages.
Hi, I usually compile fpc with "make clean all", this builds everything for RELEASE. How can I compile this with Debug info?
Thanks, in advance,
Leonardo M. Ramé
http://leonardorame.blogspot.com
Leonardo M. Ramé wroteHi, I usually compile fpc with "make clean all", this builds everything for RELEASE. How can I compile this with Debug info?
make clean all OPT="params_here"
Marcos Douglas
Thanks Marcos, I used make clean all OPT="-g" and aparently it didn't include debugging info. How can I check that?
Leonardo M. Ramé
http://leonardorame.blogspot.com
Leonardo M. Ramé wroteThanks Marcos, I used make clean all OPT="-g" and aparently it didn't include debugging info. How can I check that?
Try OPT="-gl -O-". You can check the .o files with the "file" command. This will tell you if it's stripped or not.
Henry
Thanks, now I can debug fpc packages!.
Leonardo M. Ramé
http://leonardorame.blogspot.com
Leonardo M. Ramé wroteThanks, now I can debug fpc packages!.
Very good!
I did not answer your another question because Henry did.
Marcos Douglas