<div dir="auto">I’m attempting to build fpc on FreeBSD/PowerPC64.  I’ve added what I think are the necessary changes to add PowerPC64 to BSD/FreeBSD.  However, when I cross compile for PowerPC64 below are the results I get. Both fpc and ppc ppc64 fail.  However, ppudump, ppufiles and other executables seem to be okay.</div><div dir="auto"><br></div><div dir="auto">What do you think?</div><div dir="auto"><br></div><div dir="auto"><br></div><div dir="auto"><div><div dir="ltr" style="font-size:14px;font-style:normal;font-weight:400;letter-spacing:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none;color:rgb(0,0,0)"><div dir="auto"><span style="font-size:14px;font-style:normal;font-weight:400;letter-spacing:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none;float:none;display:inline!important;color:rgb(0,0,0)">root@blackbird-powerpc64:/mnt/</span><span style="font-size:14px;font-style:normal;font-weight:400;letter-spacing:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none;float:none;display:inline!important;color:rgb(0,0,0)">freepascal/compiler/utils # ./fpc</span><br style="color:rgb(0,0,0);font-family:'-apple-system',sans-serif;font-size:14px;font-style:normal;font-weight:400;letter-spacing:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none"><a href="https://forum.lazarus.freepascal.org/index.php/topic,69337.msg538250.html#msg538250" style="font-family:verdana,arial,helvetica,sans-serif;font-size:1em;text-decoration:none;color:rgb(51,68,102)">ERangeError:Range check </a>error</div></div><div dir="ltr" style="font-size:14px;font-style:normal;letter-spacing:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none;color:rgb(0,0,0)"><div dir="auto"><br></div><br></div><div dir="ltr" style="font-size:14px;font-style:normal;font-weight:400;letter-spacing:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none;color:rgb(0,0,0)">root@blackbird-powerpc64:/mnt/freepascal/compiler # ./ppcppc64<br>Fatal: No source file name in command line<br>Fatal: Compilation aborted<br><br></div><div dir="ltr" style="font-size:14px;font-style:normal;font-weight:400;letter-spacing:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none;color:rgb(0,0,0)">root@blackbird-powerpc64:/mnt/freepascal/compiler/utils # ./ppudump<br>PPU-Analyser Version 3.2.0<br>Copyright (c) 1998-2013 by the Free Pascal Development Team<br><br>usage: ppudump [options] <filename1> <filename2>...<br><br>[options] can be:<br>    -F<format>  Set output format to <format><br>                  t - text format (default)<br>                  j - JSON format<br>                  x - XML format<br>    -M Exit with ExitCode=2 if more information is available<br>    -S Skip PPU version check. May lead to reading errors<br>    -V<verbose>  Set verbosity to <verbose><br>                   H - Show header info<br>                   I - Show interface<br>                   M - Show implementation<br>                   S - Show interface symbols<br>                   D - Show interface definitions<br>                   A - Show all<br>    -h, -?       This helpscreen<br></div><br></div><br></div>