Sign in Join

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

Mailing lists / fpc-pascal / 2011-06

Compiling FPC with DEBUG

4 messages · 2 people · –

Reply by email Subscribe to this list Your subscription

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

leledumbo
to Marcos Douglas
1- How can I compile all packages with DEBUG option?

pass OPT='-g' when calling make, disabling optimizations (-O-) might be a good idea too.

2- How can I compile just one package, eg fcl-xml, with DEBUG option?

same as above, but cd to the package directory first.

I wrote on the wrong list? It should be fpc-devel list?

Nope, that one is for development of fpc itself.

View this message in context: http://free-pascal-general.1045716.n5.nabble.com/Compiling-FPC-with-DEBUG-tp4529557p4544989.html Sent from the Free Pascal - General mailing list .
Marcos Douglas
to leledumbo
leledumbo wrote 13 lines
> 1- How can I compile all packages with DEBUG option? pass OPT='-g' when calling make, disabling optimizations (-O-) might be a good idea too. > 2- How can I compile just one package, eg fcl-xml, with DEBUG option? same as above, but cd to the package directory first. > I wrote on the wrong list? It should be fpc-devel list? Nope, that one is for development of fpc itself.

Thanks.

Marcos Douglas