[fpc-pascal] Proper preprocessor?
Ryan Joseph
ryan at thealchemistguild.com
Thu Jun 21 08:37:00 CEST 2018
> On Jun 21, 2018, at 1:21 PM, Ryan Joseph <ryan at thealchemistguild.com> wrote:
>
> 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.
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?
Ryans-MacBook-Pro:fpc ryanjoseph$ /Developer/ObjectivePascal/fpc/compiler/i386/pp /Users/ryanjoseph/Downloads/macro_test.pas
Free Pascal Compiler version 3.1.1 [2018/06/21] for i386
Copyright (c) 1993-2018 by Florian Klaempfl and others
Target OS: Darwin for i386
Compiling /Users/ryanjoseph/Downloads/macro_test.pas
PPU Loading /usr/local/lib/fpc/3.1.1/units/i386-darwin/rtl/system.ppu
PPU Invalid Version 195
Fatal: Can't find unit system used by macro_test
Fatal: Compilation aborted
Regards,
Ryan Joseph
More information about the fpc-pascal
mailing list