[fpc-pascal] Manual smartlinking

Jonas Maebe jonas.maebe at elis.ugent.be
Wed Aug 20 08:29:49 CEST 2008


On 20 Aug 2008, at 07:23, leledumbo wrote:

> Vincent Snijders wrote:
>>
>> The -XX compiler parameter enables smartlinking.
>>
>
> I know that one (and I already use it), but the problem is that I  
> need to do
> it manually due to external entry point.

Pass the --gc-sections parameter to the linker (and use object files  
compiled with -CX).


Jonas



More information about the fpc-pascal mailing list