How to cross compile x86_64 program under ubuntu Arm64? lazarus / 66-Unix ---------------------------------------------------------------------- rarnu · 2021-12-21 03:45 I have installed ubuntu arm64 on Raspberry Pi, and now I want to cross compile x86_64 programs but there is no cross compiler. I tried to compile it myself with the steps: Code: Text  [Select][+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i $ sudo apt install crossbuild-essential-amd64$ cd /usr/bin$ sudo ln -s x86_64-linux-gnu-as x86_64-linux-as $ cd ~/Downloads/fpc-3.2.2$ make clean crossall OVERRIDEVERSIONCHECK=1 TARGET_OS=linux CPU_TARGET=x86_64  and the error is: Code: Text  [Select][+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i system.pp(490,1) Fatal: Internal error 2015030501Fatal: Compilation aborted  I attached the full compile log for help. How can I finish the compile? ---------------------------------------------------------------------- PascalDragon · 2021-12-21 07:59 Quote from: rarnu on December 21, 2021, 04:45:51 amI have installed ubuntu arm64 on Raspberry Pi, and now I want to cross compile x86_64 programs but there is no cross compiler. It is currently not possible to compile from a non-x86 CPU to a x86 CPU, because the later requires support for the 80-bit floating point type (aka Extended) which is not available for most others.