<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'><div>Yeeeeeeeep, Michal, your tip does the trick... :-)<br><div class="ecxgmail_extra"><br>According to your patch (i do not know how to apply), i have changed in:<br><pre>/rtl/freebsd/x86_64/dllprt0.as :<br>________________________________<br></pre><div> .weak operatingsystem_parameter_argc</div>
<div> .weak operatingsystem_parameter_argv</div><div> .weak operatingsystem_parameter_envp</div><pre>_____________________________________<br><br>>> with that :<br>_____________________________________<br></pre><div>operatingsystem_parameters:</div><div> .skip 3*8</div><div><br></div><div> .global operatingsystem_parameter_envp</div>
<div> .global operatingsystem_parameter_argc</div><div> .global operatingsystem_parameter_argv</div><div> .set operatingsystem_parameter_envp,operatingsystem_parameters+0</div><div> .set operatingsystem_parameter_argc,operatingsystem_parameters+8</div>
<div> .set operatingsystem_parameter_argv,operatingsystem_parameters+16<br>______________________________________________<br><br>After compile fpc, (do not know what assembler command to use to compile only dllprt0.as)<br>the magic appear :<br><br>1) I can run Python script that use fpc libraries on freeBSD 10 64 bit.<br>2) I can run Java app that use fpc libraries on freeBSD 10 64 bit. <br>3) Complicated GUI fpc libraries tested too on freeBSD 10 64 bit. => It Works !<br>4) fpc can really do True Universal Libraries.<br><br>Morality of that story => fpc is now the unique King of True Universal Libraries. ;-)<br><br>Hypra many tetra thanks to Michal and all the developers of King-Magic fpc.<br><br><br>Here screenshots of fpc libraries used by Java and Python on feeBSD 10 64 bits.<br><br>>> https://sites.google.com/site/fiensprototyping/home/freebsd_java_fpguilib.jpg<br><br>>> https://sites.google.com/site/fiensprototyping/home/freebsd_python_fpguilib.jpg<br><br>Fred<br><br>PS : I recommend that patch to all freeBSD users.<br></div><br></div></div> </div></body>
</html>