> On Fri, 23 Sep 2005 15:51:01 +0200 (CEST)
> "Peter Vreman" <[EMAIL PROTECTED]> wrote:
>
>> name : 'Linux for i386';
>> shortname : 'Linux';
>> - flags :
>> [tf_needs_symbol_size,tf_pic_uses_got{,tf_smartlink_sections}];
>> + flags :
>> [tf_needs_symbol_size,tf_pic_uses_got,tf_smartlink_sections];
>> cpu : cpu_i386;
>
> Maybe silly question: why doesn't -XX add or remove that smartlink flag ?
The smartlink flag in the PPU only gives the compiler info which files can
be used for linking. without this change that is a .o or a .a file. Since
the .a file is not needed anymore there is only the .o left.
Using -XX to remove the ld option (--gc-sections) will have different
effects on the platforms.
A possible solution is to revert to the old single section .o file method
when the option -XS is passed.
_______________________________________________
fpc-devel maillist - [email protected]
http://lists.freepascal.org/mailman/listinfo/fpc-devel