<div dir="auto"><div class="gmail_quote" dir="auto"><div dir="ltr">Ryan Joseph <<a href="mailto:ryan@thealchemistguild.com">ryan@thealchemistguild.com</a>> schrieb am Do., 21. Juni 2018, 08:37:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
<br>
> On Jun 21, 2018, at 1:21 PM, Ryan Joseph <<a href="mailto:ryan@thealchemistguild.com" target="_blank" rel="noreferrer">ryan@thealchemistguild.com</a>> wrote:<br>
> <br>
> Thanks Sven. So it was the Lazarus step I was missing! I know about using “lazbuild” from the command line but there are many .lpi projects in /compiler. Which one is ppc386? I see ppcx64.lpi but not ppc386.<br></blockquote></div><div dir="auto"><br></div><div dir="auto">pp.lpi is the i386 one (it was the first one, so no suffix ;)). </div><div dir="auto"><br></div><div class="gmail_quote" dir="auto"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
I figured out how to build the “pp” project (not sure if this is the right one) but I’m getting a PPU error now. What do I do about system.ppu?<br>
<br>
Ryans-MacBook-Pro:fpc ryanjoseph$ /Developer/ObjectivePascal/fpc/compiler/i386/pp /Users/ryanjoseph/Downloads/macro_test.pas <br>
Free Pascal Compiler version 3.1.1 [2018/06/21] for i386<br>
Copyright (c) 1993-2018 by Florian Klaempfl and others<br>
Target OS: Darwin for i386<br>
Compiling /Users/ryanjoseph/Downloads/macro_test.pas<br>
PPU Loading /usr/local/lib/fpc/3.1.1/units/i386-darwin/rtl/system.ppu<br>
PPU Invalid Version 195<br>
Fatal: Can't find unit system used by macro_test<br>
Fatal: Compilation aborted<br></blockquote></div><div dir="auto"><br></div><div dir="auto">You need to pass the correct parameters. I usually pass the following:</div><div dir="auto"><br></div><div dir="auto">-n -Furtl/units/<CPU>-<OS> -viwn - FEtestoutput ./fpctests/mytest.pp</div><div dir="auto"><br></div><div dir="auto">And set the current working directory to the top level directory of the checkout. </div><div dir="auto"><br></div><div dir="auto"><div dir="auto" style="font-family:sans-serif">testoutput and fpctests are two directories that I created in the top level directory to keep things clean. </div><div dir="auto" style="font-family:sans-serif"><br></div><div dir="auto" style="font-family:sans-serif">Regards, </div><div dir="auto" style="font-family:sans-serif">Sven </div><br></div><div class="gmail_quote" dir="auto"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"></blockquote></div></div>