123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154 |
- {$ifdef FPC}
- {$mode objfpc}
- {$asmmode default}
- {$H-}
- {$goto on}
- {$inline on}
- { 1Mb stack }
- {$MEMORY 1000000}
- { This reduces the memory requirements a lot }
- {$PACKENUM 1}
- {$ifndef VER1_0}
- { 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}
- {$else}
- { Optimizer is broken when compiling with optimizations using 1.0.x }
- {$ifndef USEOPT}
- {$define NOOPT}
- {$endif}
- { 1.0.x generates broken code for sysutils }
- {$ifndef FORCE_SYSUTILS}
- {$undef USE_SYSUTILS}
- {$endif}
- {$endif VER1_0}
- {$ifdef VER1_9_4}
- { 1.9.4 generates broken code for sysutils }
- {$ifndef FORCE_SYSUTILS}
- {$undef USE_SYSUTILS}
- {$endif}
- {$endif}
- {$define USEEXCEPT}
- {$ifdef cpuarm}
- {$packrecords c}
- {$endif cpuarm}
- {$endif}
- {$ifdef i386}
- {$define x86}
- {$define cpuflags}
- {$define cpuextended}
- {$endif i386}
- {$ifdef x86_64}
- {$define x86}
- {$define cpuflags}
- {$define cpu64bit}
- {$define cpuextended}
- {$define cpufloat128}
- {$define cputargethasfixedstack}
- {$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}
- {$define noopt}
- {define oldregvars}
- {$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}
- {
- $Log$
- Revision 1.48 2005-02-08 22:33:51 olle
- * fixed compilation on MacOS
- Revision 1.47 2004/11/14 16:26:29 florian
- * fixed morphos syscall
- Revision 1.46 2004/10/31 18:54:24 peter
- * $fpctarget expands to <cpu>-<os>
- * allow * in middle of the path to support ../*/units/$fpctarget
- Revision 1.45 2004/10/30 15:21:37 florian
- * fixed generic optimizer
- * enabled generic optimizer for sparc
- Revision 1.44 2004/10/14 18:29:22 peter
- * disable USE_SYSUTILS when compiled with 1.9.4 or 1.0.x
- Revision 1.43 2004/10/10 14:57:29 jonas
- - disabled oldregvars because it no longer compiles
- Revision 1.42 2004/10/04 21:23:15 florian
- * rtti alignment fixed
- Revision 1.41 2004/09/21 19:59:51 peter
- * x86_64 fixes
- * cleanup of fpcdefs.icn
- Revision 1.40 2004/09/21 17:25:12 peter
- * paraloc branch merged
- Revision 1.39.4.1 2004/08/31 20:43:06 peter
- * paraloc patch
- Revision 1.39 2004/08/15 13:30:18 florian
- * fixed alignment of variant records
- * more alignment problems fixed
- Revision 1.38 2004/06/20 08:55:29 florian
- * logs truncated
- Revision 1.37 2004/06/16 20:07:07 florian
- * dwarf branch merged
- Revision 1.36 2004/05/30 21:20:40 jonas
- * enable regvars by default for PPC
- Revision 1.35.2.4 2004/05/02 12:45:32 peter
- * enabled cpuhasfixedstack for x86-64 again
- * fixed size of temp allocation for parameters
- Revision 1.35.2.3 2004/05/02 01:02:24 peter
- * remove fixed stack for x86-64
- Revision 1.35.2.2 2004/04/29 23:30:28 peter
- * fix i386 compiler
- }
|