<div dir="ltr"><div><div><div><div><div><div><div><div><div><div><div><div><div><div><div>Hi Sven, thanks for the fast answer.<br></div><div>I
 did not found that about [public] because I thought it was just an 
option of "export", and so always search for export documentation.<br>
</div><div><br>And I did have an exports function in main file, I told about it in my previous mail, that was not the problem.<br></div></div></div><br></div>I checked better the compilation output, and I found out why there is a problem.<br>

There are too many assembler errors in all of my files!<br><br>build\TERRA_Localization.s:3184: Error: only lo regs allowed with immediate -- `mov r8,#0'<br>build\TERRA_Localization.s:3212: Error: Thumb does not support conditional execution<br>

build\TERRA_Localization.s:3214: Error: unshifted register required -- `mvn r3,#-2147483648'<br><br></div>Thus the object files are not generated correctly, they were probably empty or something?<br></div>So
 I went and rebuilt FPC, to make sure it was only ok, and then I saw it,
 those assembler errors also appeared during FPC compilation...<br>
<br></div>I tried many combinations of switches and finally found the culprit, it was -CpARMV7<br></div>I changed it to -CpARMV5 and changed from -CfVFPV3 to -CfVFPV2.<br>Now FPC builds without assembly errors and my game too, and the export symbols are there.<br>

</div>The game runs without crashing, and even threads work now, so good, I'm making progress!<br></div><div><br></div>However...<br></div>As far I know armv5 has inferior performance, eg: does not support hard floating point?<br>

I really needed armv7 to work, so I investigated a bit more. It seems 
that trunk fpc supports lots of armv7 variations, and the proper one 
seems to be armv7a.<br></div><div>I compiled again FPC and my game with this instruction set, and it runs great!<br>
<br></div><div>So the problem was just that, I dont know why the 
previous FPC version worked fine with that instruction set thought, 
maybe armv7 defaulted to armv7a or something?<br></div></div></div><br></div>Again, thanks again to everyone that made FPC a reality, you guys are great!</div>