[fpc-pascal] Smart link in FreeBSD multi-arch ?
fredvs
fiens at hotmail.com
Mon Oct 17 14:55:30 CEST 2016
Thanks Michael.
> No, simply probably no-one knows the answer or the few knowledgable people
> didn't see your message.
OK I agree the problem is complicated it is the reason why I ask this to fpc
+ freebsd forum.
But here I ask something simple : What option is added to linker when -XX
parameter is used?
If you do:
fpc -s -XX test.pas, in the ppas.sh produced, *--gc-sections* option is
added to ld option.
So it seems that garbage collection must be enabled to do a smartlink.
And if this is right, using garbage collection in FreeBSD 32 bit produce
code not usable in Multi-arch.
There in FreeBSD forum, they cannot admit that fpc uses *--gc-sections*
option in ld when fpc -XX is used.
Fre;D
-----
Many thanks ;-)
--
View this message in context: http://free-pascal-general.1045716.n5.nabble.com/Smart-link-in-FreeBSD-multi-arch-tp5726375p5726601.html
Sent from the Free Pascal - General mailing list archive at Nabble.com.
More information about the fpc-pascal
mailing list