[fpc-devel] Compiling FPC with DEBUG
Hi, I compile FPC with success using my tutorial: http://wiki.freepascal.org/Installing_Lazarus#Compiling.2Finstalling_FPC_and_Lazarus_from_Sources_of_SVN_.28Win32.29 Questions: 1- How can I compile all packages with DEBUG option? 2- How can I compile just one package, eg fcl-xml, with DEBUG option? Thanks, Marcos Douglas ___ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel
Re: [fpc-devel] Compiling FPC with DEBUG
On Tue, Jun 28, 2011 at 9:23 AM, Marcos Douglas m...@delfire.net wrote: Hi, I compile FPC with success using my tutorial: http://wiki.freepascal.org/Installing_Lazarus#Compiling.2Finstalling_FPC_and_Lazarus_from_Sources_of_SVN_.28Win32.29 Questions: 1- How can I compile all packages with DEBUG option? 2- How can I compile just one package, eg fcl-xml, with DEBUG option? Thanks, Marcos Douglas 1) http://free-pascal-general.1045716.n5.nabble.com/Building-FPC-with-debug-information-td3211375.html 2) Did you try running make inside the dir with debug then running the normal compileinstall procedure? AFAICT fpc-pascal was ok (if not better) for this question. -Flávio ___ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel
Re: [fpc-devel] Compiling FPC with DEBUG
2011/6/28 Flávio Etrusco flavio.etru...@gmail.com On Tue, Jun 28, 2011 at 9:23 AM, Marcos Douglas m...@delfire.net wrote: Hi, I compile FPC with success using my tutorial: http://wiki.freepascal.org/Installing_Lazarus#Compiling.2Finstalling_FPC_and_Lazarus_from_Sources_of_SVN_.28Win32.29 Questions: 1- How can I compile all packages with DEBUG option? 2- How can I compile just one package, eg fcl-xml, with DEBUG option? Thanks, Marcos Douglas Finally... =) 1) http://free-pascal-general.1045716.n5.nabble.com/Building-FPC-with-debug-information-td3211375.html Thanks, I will try. BTW, what that mean DEBUG=1? Is it exists =2, =3, etc? 2) Did you try running make inside the dir with debug then running the normal compileinstall procedure? No, I didn't because I didn't know this procedure. AFAICT fpc-pascal was ok (if not better) for this question. I posted in fpc-pascal, but nobody answered me! Marcos Douglas ___ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel
Re: [fpc-devel] Compiling FPC with DEBUG
Thanks, I will try. BTW, what that mean DEBUG=1? Is it exists =2, =3, etc? AFAIK no. 2) Did you try running make inside the dir with debug then running the normal compileinstall procedure? No, I didn't because I didn't know this procedure. AFAICT fpc-pascal was ok (if not better) for this question. I posted in fpc-pascal, but nobody answered me! I know, that's why I said that ;-) I was going to reply there yesterday but I couldn't because my internet connection (TIM 3G) was problematic. And still is :-/ Sometimes people take time to reply. Specially when the answer was not so difficult to find in google ;-) -Flávio ___ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel
[fpc-devel] Compiling FPC with Debug info
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 ___ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel
Re: [fpc-devel] Compiling FPC with Debug info
On Thu, Feb 24, 2011 at 5:11 PM, Leonardo M. Ramé martinr...@yahoo.com 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 - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel
Re: [fpc-devel] Compiling FPC with Debug info
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 --- On Thu, 2/24/11, Marcos Douglas m...@delfire.net wrote: From: Marcos Douglas m...@delfire.net Subject: Re: [fpc-devel] Compiling FPC with Debug info To: FPC developers' list fpc-devel@lists.freepascal.org Date: Thursday, February 24, 2011, 6:32 PM On Thu, Feb 24, 2011 at 5:11 PM, Leonardo M. Ramé martinr...@yahoo.com 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 - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel ___ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel
Re: [fpc-devel] Compiling FPC with Debug info
On 24 February 2011 20:56, Leonardo M. Ramé martinr...@yahoo.com 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 - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel
Re: [fpc-devel] Compiling FPC with Debug info
Thanks, now I can debug fpc packages!. Leonardo M. Ramé http://leonardorame.blogspot.com --- On Thu, 2/24/11, Henry Vermaak henry.verm...@gmail.com wrote: From: Henry Vermaak henry.verm...@gmail.com Subject: Re: [fpc-devel] Compiling FPC with Debug info To: FPC developers' list fpc-devel@lists.freepascal.org Date: Thursday, February 24, 2011, 7:38 PM On 24 February 2011 20:56, Leonardo M. Ramé martinr...@yahoo.com 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 - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel ___ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel
Re: [fpc-devel] Compiling FPC with Debug info
On Thu, Feb 24, 2011 at 7:52 PM, Leonardo M. Ramé martinr...@yahoo.com wrote: Thanks, now I can debug fpc packages!. Very good! I did not answer your another question because Henry did. Marcos Douglas ___ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel