<p>Am 09.12.2016 10:32 schrieb "Maciej Izak" <<a href="mailto:hnb.code@gmail.com">hnb.code@gmail.com</a>>:<br>
><br>
><br>
> 2016-09-18 2:31 GMT+02:00 Benjamin Rosseaux <<a href="mailto:benjamin@rosseaux.de">benjamin@rosseaux.de</a>>:<br>
>><br>
>> i've noticed a weakness of the FPC internal linker at static-linking .a libraries on the Win64 target, which're generated by GCC newer than 4.8.1, due to the new refptr.* and .refptr.* symbols-can-be-multiple-defined stuff (inside one single .a library file), which was introduced in newer GCC versions. <br>
><br>
><br>
> I don't have the real patch for this yet but I have my inner tool to rename all duplicated symbols for statically linking FPC with C++ code (I have improved cppclass type). My tool uses objconv : <a href="http://www.agner.org/optimize/#objconv">http://www.agner.org/optimize/#objconv</a> . Rename for symbols is simple with few commands for objconv ("-dfhs" to list symbols and "-nr" to rename).</p>
<p>Improvements for cppclass are definitely welcome :)</p>
<p>Regards,<br>
Sven</p>