[fpc-devel] Support for PowerPC64 on FreeBSD

Curtis Hamilton clhamilto at gmail.com
Tue Sep 16 06:32:42 CEST 2025


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.

What do you think?


root at blackbird-powerpc64:/mnt/freepascal/compiler/utils # ./fpc
ERangeError:Range check
<https://forum.lazarus.freepascal.org/index.php/topic,69337.msg538250.html#msg538250>
error


root at blackbird-powerpc64:/mnt/freepascal/compiler # ./ppcppc64
Fatal: No source file name in command line
Fatal: Compilation aborted

root at blackbird-powerpc64:/mnt/freepascal/compiler/utils # ./ppudump
PPU-Analyser Version 3.2.0
Copyright (c) 1998-2013 by the Free Pascal Development Team

usage: ppudump [options] <filename1> <filename2>...

[options] can be:
    -F<format>  Set output format to <format>
                  t - text format (default)
                  j - JSON format
                  x - XML format
    -M Exit with ExitCode=2 if more information is available
    -S Skip PPU version check. May lead to reading errors
    -V<verbose>  Set verbosity to <verbose>
                   H - Show header info
                   I - Show interface
                   M - Show implementation
                   S - Show interface symbols
                   D - Show interface definitions
                   A - Show all
    -h, -?       This helpscreen
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20250916/af1a698c/attachment.htm>


More information about the fpc-devel mailing list