mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-05-12 06:52:35 +02:00
77 lines
1.4 KiB
PHP
77 lines
1.4 KiB
PHP
{$ifdef FPC}
|
|
{$mode objfpc}
|
|
{$asmmode default}
|
|
{$H-}
|
|
{$goto on}
|
|
{$inline on}
|
|
|
|
{ 1Mb stack }
|
|
{$MEMORY 1000000}
|
|
|
|
{ This reduces the memory requirements a lot }
|
|
{$PACKENUM 1}
|
|
|
|
{ We don't use exceptions, so turn off the implicit
|
|
exceptions in the constructors }
|
|
{$IMPLICITEXCEPTIONS OFF}
|
|
{ Inline small functions, but not when EXTDEBUG is used }
|
|
{$ifndef EXTDEBUG}
|
|
{$define USEINLINE}
|
|
{$endif EXTDEBUG}
|
|
|
|
{$define USEEXCEPT}
|
|
|
|
{$ifdef cpuarm}
|
|
{$packrecords c}
|
|
{$endif cpuarm}
|
|
{$endif}
|
|
|
|
{$ifdef i386}
|
|
{$define x86}
|
|
{$define cpuflags}
|
|
{$define cpuextended}
|
|
{$define USECMOV}
|
|
{$endif i386}
|
|
|
|
{$ifdef x86_64}
|
|
{$define x86}
|
|
{$define cpuflags}
|
|
{$define cpu64bit}
|
|
{$define cpuextended}
|
|
{$define cpufloat128}
|
|
{$define cputargethasfixedstack}
|
|
{$define USECMOV}
|
|
{$endif x86_64}
|
|
|
|
{$ifdef alpha}
|
|
{$define cpu64bit}
|
|
{$endif alpha}
|
|
|
|
{$ifdef sparc}
|
|
{$define cpuflags}
|
|
{$define cputargethasfixedstack}
|
|
{$define cpurequiresproperalignment}
|
|
{$endif sparc}
|
|
|
|
{$ifdef powerpc}
|
|
{$define cpuflags}
|
|
{$define cputargethasfixedstack}
|
|
{$endif powerpc}
|
|
|
|
{$ifdef arm}
|
|
{$define cpuflags}
|
|
{$define cpuneedsdiv32helper}
|
|
{$define cputargethasfixedstack}
|
|
{$define cpurequiresproperalignment}
|
|
{$endif arm}
|
|
|
|
{$ifdef m68k}
|
|
{$define cpuflags}
|
|
{$define cpufpemu}
|
|
{$endif m68k}
|
|
|
|
{$IFDEF MACOS}
|
|
{$DEFINE MACOS_USE_FAKE_SYSUTILS}
|
|
{$ENDIF MACOS}
|
|
|