[fpc-devel] Lazarus keeps it's secrets
Jonas Maebe
jonas.maebe at elis.ugent.be
Wed Mar 3 21:42:30 CET 2010
On 03 Mar 2010, at 18:16, Marco van de Voort wrote:
> n Wed, Mar 03, 2010 at 01:30:41PM +0100, Jonas Maebe wrote:
>>> And how to enable debug info only for FCL and packages?...
>>
>> After building normally and before doing the make install:
>>
>> make `pwd`/compiler/ppc386 packages_clean packages_all OPT="-O- -gl"
>>
>> (if you're not under unix: replace `pwd` with the *full, absolute*
>> path to the current directory)
>
> This will create several sets of "macro scale packages"
> (rtl,fcl,packages,lcl etc) that come from different compiles.
And which does exactly what was asked.
> I actually had expected a answer involving stripping .o's here (e.g. have
> one set with full debug info in the installer package, and installing
> extracts these in two dirs, stripping one)
Files compiled with and without debug information will also have different code on some platforms due to ABI requirements, so the result will not be identical.
Jonas
More information about the fpc-devel
mailing list