Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-devel / 2011-02

Compiling FPC with Debug info

6 messages · 3 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Leonardo M. Ramé
to 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

Marcos Douglas wrote 22 lines
From: Marcos Douglas Subject: Re: [fpc-devel] Compiling FPC with Debug info To: "FPC developers' list" Date: Thursday, February 24, 2011, 6:32 PM On Thu, Feb 24, 2011 at 5:11 PM, Leonardo M. Ramé wrote: > Hi, 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" Like this: http://wiki.lazarus.freepascal.org/Installing_Lazarus#STEP_.235:_Create_a_BAT_file_to_compile_Lazarus Marcos Douglas _______________________________________________ fpc-devel maillist  -  http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply by email

Henry Vermaak
to Leonardo M. Ramé
Leonardo M. Ramé wrote
Thanks 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

Reply by email

Leonardo M. Ramé
to Henry Vermaak

Thanks, now I can debug fpc packages!.

Leonardo M. Ramé
http://leonardorame.blogspot.com

Henry Vermaak wrote 21 lines
From: Henry Vermaak Subject: Re: [fpc-devel] Compiling FPC with Debug info To: "FPC developers' list" Date: Thursday, February 24, 2011, 7:38 PM On 24 February 2011 20:56, Leonardo M. Ramé wrote: > Thanks 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 _______________________________________________ fpc-devel maillist  -  http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply by email