Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Jan 2026 17:02:21 -0500
From:      Curtis Hamilton <clhamilto@gmail.com>
To:        Timothy Pearson <tpearson@raptorengineering.com>,  FreeBSD PowerPC ML <freebsd-ppc@freebsd.org>
Subject:   Re: Any interest in FreePascal support for FreeBSD/PowerPC64
Message-ID:  <CAP9EAicGcH5TuvjJWbhKbh85yVUADZ0SV8uV1OabrKK-3f4zEQ@mail.gmail.com>
In-Reply-To: <CAP9EAie922mcE%2B4Aszroga2sFu56e4gusuFFSFtY2vrPte=juQ@mail.gmail.com>
References:  <CAP9EAid8ZuJbcDGvcnyCNvVzMQ77eoWXK22TtMqAtOoguOombw@mail.gmail.com> <1671765592.157375.1765650208794.JavaMail.zimbra@raptorengineeringinc.com> <CAP9EAie922mcE%2B4Aszroga2sFu56e4gusuFFSFtY2vrPte=juQ@mail.gmail.com>

index | next in thread | previous in thread | raw e-mail

[-- Attachment #1 --]
For all interested, PowerPC64 support has now been formally added to
upstream FreePascal repository: https://gitlab.com/freepascal.org/fpc/source
<https://gitlab.com/freepascal.org/fpc/source>;

To build:

1) clone the repository using git.

2) download prebuilt bootstrap (see below URLs)

2) cd to FPCSource (or whatever it was cloned)

3) execute:
Little endian: gmake all
FPC=“/wherever/you/put/bootstrap”/ppcppc64-3.2.2-FreeBSD-le
or
Big endian: gmake all
FPC=“/wherever/you/put/bootstrap”/ppcppc64-3.2.2-FreeBSD-be

4) install:
gmake install FPC=“/wherever/you/put/bootstrap”/ppcppc64-3.2.2-FreeBSD-(le
or be)

Links to pre-built bootstraps:

powerpc64 - big endian
link:
https://drive.google.com/drive/folders/19eRpP2AXdyXDBBZopCQc9fs7ATvfiAHK?usp=sharing
bootstrap compiler: ppcppc64-3.2.2-freebsd-be.tar.gz

powerpc64 - little endian
link:
https://drive.google.com/drive/folders/13vCnelcWAEtwPgUpto0THdC0fATa79Mg?usp=sharing
bootstrap compiler: ppcppc64-3.2.2-freebsd-le.tar.gz

Regards


On Mon, Dec 22, 2025 at 11:09 AM Curtis Hamilton <clhamilto@gmail.com>
wrote:

> Thanks for the responses.  The compiler supports both LE and BE.  In fact,
> it works better on LE. I've used it to test build Lazarus and a few other
> graphics based applications.  There seems to be some endian issues on BE.
>
>
>
> On Sat, Dec 13, 2025 at 1:23 PM Timothy Pearson <
> tpearson@raptorengineering.com> wrote:
>
>>
>>
>> ----- Original Message -----
>> > From: "Curtis Hamilton" <clhamilto@gmail.com>
>> > To: "freebsd-ppc" <freebsd-ppc@freebsd.org>
>> > Sent: Sunday, December 14, 2025 12:23:44 PM
>> > Subject: Any interest in FreePascal support for FreeBSD/PowerPC64
>>
>> > This started as a personal project several years ago.  I've achieved my
>> > goal of a working freepascal compiler.
>> >
>> > I thought I'd check to see if there are others interested in freepascal
>> > support for FreeBSD PowerPC64.
>> >
>> > Regards!
>>
>> I'd be interested!  Does it work BE only or also on LE?
>>
>

[-- Attachment #2 --]
<div><div dir="auto"><div 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)" dir="auto">For all interested, PowerPC64 support has now been formally added to upstream FreePascal repository<span style="font-family:-apple-system,sans-serif">: </span><a href="https://gitlab.com/freepascal.org/fpc/source" style="font-family:-apple-system,sans-serif">https://gitlab.com/freepascal.org/fpc/source</a><div><a href="https://gitlab.com/freepascal.org/fpc/source" style="color:rgb(66,133,244);font-family:&#39;-apple-system&#39;,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"></a></div></div><div 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)" dir="auto"><br></div><div 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)" dir="auto">To build:</div><div 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)" dir="auto"><br></div><div 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)" dir="auto">1) clone the repository using git.</div><div 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)" dir="auto"><br></div><div 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)" dir="auto">2) download prebuilt bootstrap (see below URLs)</div><div 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)" dir="auto"><br></div><div 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)" dir="auto">2) cd to FPCSource (or whatever it was cloned)</div><div 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)" dir="auto"><br></div><div 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)" dir="auto">3) execute: </div><div 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)" dir="auto">Little endian: gmake all FPC=“/wherever/you/put/bootstrap”/ppcppc64-3.2.2-FreeBSD-le </div><div 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)" dir="auto">or</div><div 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)" dir="auto"><div dir="auto"><span style="color:rgb(0,0,0);font-family:&#39;-apple-system&#39;,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;display:inline!important;float:none">Big endian: gmake all FPC=“/wherever/you/put/bootstrap”/ppcppc64-3.2.2-FreeBSD-be</span></div><div dir="auto"><span style="color:rgb(0,0,0);font-family:&#39;-apple-system&#39;,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;display:inline!important;float:none"><br></span></div><div dir="auto"><span style="color:rgb(0,0,0);font-family:&#39;-apple-system&#39;,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;display:inline!important;float:none">4) install: <div dir="auto"><span style="color:rgb(0,0,0);font-family:&#39;-apple-system&#39;,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;display:inline!important;float:none">gmake install FPC=“/wherever/you/put/bootstrap”/ppcppc64-3.2.2-FreeBSD-(le or be)</span></div></span></div><br></div><div 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)" dir="auto">Links to pre-<span style="font-family:-apple-system,sans-serif">built bootstraps:</span></div><div 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)"><br></div><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)">powerpc64 - big endian</span><br style="color:rgb(0,0,0);font-family:&#39;-apple-system&#39;,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"><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)">link: </span><a href="https://drive.google.com/drive/folders/19eRpP2AXdyXDBBZopCQc9fs7ATvfiAHK?usp=sharing" 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;color:rgb(66,133,244)" target="_blank">https://drive.google.com/drive/folders/19eRpP2AXdyXDBBZopCQc9fs7ATvfiAHK?usp=sharing</a><br style="color:rgb(0,0,0);font-family:&#39;-apple-system&#39;,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"><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)">bootstrap compiler: ppcppc64-3.2.2-freebsd-be.tar.</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)">gz</span><br style="color:rgb(0,0,0);font-family:&#39;-apple-system&#39;,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"><br style="color:rgb(0,0,0);font-family:&#39;-apple-system&#39;,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"><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)">powerpc64 - little endian</span><br style="color:rgb(0,0,0);font-family:&#39;-apple-system&#39;,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"><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)">link: </span><a href="https://drive.google.com/drive/folders/13vCnelcWAEtwPgUpto0THdC0fATa79Mg?usp=sharing" 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;color:rgb(66,133,244)" target="_blank">https://drive.google.com/drive/folders/13vCnelcWAEtwPgUpto0THdC0fATa79Mg?usp=sharing</a><br style="color:rgb(0,0,0);font-family:&#39;-apple-system&#39;,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"><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)">bootstrap compiler: ppcppc64-3.2.2-freebsd-le.tar.</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)">gz</span></div><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)"><br></span></div><div dir="auto">Regards </div><br></div><div><div><div><div><div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Dec 22, 2025 at 11:09 AM Curtis Hamilton &lt;<a href="mailto:clhamilto@gmail.com" target="_blank">clhamilto@gmail.com</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;padding-left:1ex;border-left-color:rgb(204,204,204)"><div dir="ltr"><div>Thanks for the responses.  The compiler supports both LE and BE.  In fact, it works better on LE. I&#39;ve used it to test build Lazarus and a few other graphics based applications.  There seems to be some endian issues on BE.</div><div><br></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, Dec 13, 2025 at 1:23 PM Timothy Pearson &lt;<a href="mailto:tpearson@raptorengineering.com" target="_blank">tpearson@raptorengineering.com</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;padding-left:1ex;border-left-color:rgb(204,204,204)"><br>
<br>
----- Original Message -----<br>
&gt; From: &quot;Curtis Hamilton&quot; &lt;<a href="mailto:clhamilto@gmail.com" target="_blank">clhamilto@gmail.com</a>&gt;<br>
&gt; To: &quot;freebsd-ppc&quot; &lt;<a href="mailto:freebsd-ppc@freebsd.org" target="_blank">freebsd-ppc@freebsd.org</a>&gt;<br>
&gt; Sent: Sunday, December 14, 2025 12:23:44 PM<br>
&gt; Subject: Any interest in FreePascal support for FreeBSD/PowerPC64<br>
<br>
&gt; This started as a personal project several years ago.  I&#39;ve achieved my<br>
&gt; goal of a working freepascal compiler.<br>
&gt; <br>
&gt; I thought I&#39;d check to see if there are others interested in freepascal<br>
&gt; support for FreeBSD PowerPC64.<br>
&gt; <br>
&gt; Regards!<br>
<br>
I&#39;d be interested!  Does it work BE only or also on LE?<br>
</blockquote></div>
</blockquote></div></div>
</div>
</div>
</div>
</div>
home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAP9EAicGcH5TuvjJWbhKbh85yVUADZ0SV8uV1OabrKK-3f4zEQ>