Skip to content

TCompileTarget

Record type representing a compilation target

Declaration

Source position: fpmkunit.pp line 214

type
  TCompileTarget = record
    OS: TOS = (osNone,linux,go32v2,win32,os2,freebsd,beos,netbsd,amiga,atari,
       solaris,qnx,netware,openbsd,wdosx,palmos,macosclassic,darwin,emx,
       watcom,morphos,netwlibc,win64,wince,gba,nds,embedded,symbian,
       haiku,iphonesim,aix,java,android,nativent,msdos,wii,aros,
       dragonfly,win16,freertos,zxspectrum,msxdos,ios,amstradcpc,
       sinclairql,wasip1,human68k,ps1,wasip1threads,wasip2);
    CPU: TCpu = (cpuNone,i386,m68k,powerpc,sparc,x86_64,arm,powerpc64,avr,armeb,
        mips,mipsel,mips64,mips64el,jvm,i8086,aarch64,wasm32,sparc64,
        riscv32,riscv64,xtensa,z80,loongarch64);
    Subtarget: string;
    function Equals : Boolean;
    function ToString : string;
    property AsString: string; {rw}
  end;

Description

Record that defines the target platform for compilation, specifying the operating system, CPU architecture, and optional subtarget. Used to identify the specific platform configuration for cross-compilation.