[fpc-pascal] Re: building universal binary

Jonas Maebe jonas.maebe at elis.ugent.be
Wed Feb 4 10:50:17 CET 2009


On 03 Feb 2009, at 23:33, Ken G. Brown wrote:

>>> Have a Pascal program calling some C code from a static library I
>>> build in a separate project so I can use the debugger.
>>
>> You can also build it in a separate target of the same project and
>> then change the target-specific flags for that C library (as in the
>> "FPC-C-C++ Carbon Application 2.2.0" template).
>
> Does this method still allow running gdb on the C code?

Yes. When you have separate targets, you can set separate options for  
the different targets (so you can turn on gcc debugging info for the  
library target and disable it for the FPC target).


Jonas



More information about the fpc-pascal mailing list