[fpc-pascal] Compiler debug build

Maciej Izak hnb.code at gmail.com
Sat Jul 22 19:19:50 CEST 2017

2017-07-22 19:05 GMT+02:00 denisgolovan <denisgolovan at yandex.ru>:

> So the question is why it's so difficult to build fpc compiler/rtl in
> debug mode?
> Is it possible to fix? Or maybe I miss some official way?

You don't need to edit Makefile.fpc. When I need debug info for rtl and
packages I use this:

make clean all LINKSMART=1  CREATESMART=1  DEBUG=1 OPTIMIZE=0  OPT="-gl -gw
-godwarfsets -O-1"

Best regards,
Maciej Izak
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20170722/adb01d70/attachment.html>

More information about the fpc-pascal mailing list