fpcdefs.inc 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118
  1. {$ifdef FPC}
  2. {$mode objfpc}
  3. {$asmmode default}
  4. {$H-}
  5. {$goto on}
  6. {$inline on}
  7. { 1Mb stack }
  8. {$MEMORY 1000000}
  9. { This reduces the memory requirements a lot }
  10. {$PACKENUM 1}
  11. {$ifndef VER1_0}
  12. { We don't use exceptions, so turn off the implicit
  13. exceptions in the constructors }
  14. {$IMPLICITEXCEPTIONS OFF}
  15. { Inline small functions, but not when EXTDEBUG is used }
  16. {$ifndef EXTDEBUG}
  17. {$define USEINLINE}
  18. {$endif EXTDEBUG}
  19. {$else}
  20. { Optimizer is broken when compiling with optimizations using 1.0.x }
  21. {$ifndef USEOPT}
  22. {$define NOOPT}
  23. {$endif}
  24. {$endif VER1_0}
  25. {$define FPCPROCVAR}
  26. {$define USEEXCEPT}
  27. {$ifdef cpuarm}
  28. {$packrecords c}
  29. {$endif cpuarm}
  30. {$endif}
  31. {$ifdef i386}
  32. {$define x86}
  33. {$define cpuflags}
  34. {$define cpuextended}
  35. {$endif i386}
  36. {$ifdef x86_64}
  37. {$define x86}
  38. {$define cpuflags}
  39. {$define cpu64bit}
  40. {$define cpuextended}
  41. {$define cpufloat128}
  42. {$define noopt}
  43. {$define cputargethasfixedstack}
  44. {$endif x86_64}
  45. {$ifdef alpha}
  46. {$define cpu64bit}
  47. {$define noopt}
  48. {$endif alpha}
  49. {$ifdef sparc}
  50. {$define cpuflags}
  51. {$define noopt}
  52. {$define cputargethasfixedstack}
  53. {$endif sparc}
  54. {$ifdef powerpc}
  55. {$define cpuflags}
  56. {$define noopt}
  57. {$define oldregvars}
  58. {$endif powerpc}
  59. {$ifdef arm}
  60. {$define cpuflags}
  61. {$define cpuneedsdiv32helper}
  62. {$define cputargethasfixedstack}
  63. {$define noopt}
  64. {$endif arm}
  65. {$ifdef m68k}
  66. {$define cpuflags}
  67. {$define cpufpemu}
  68. {$define noopt}
  69. {$endif m68k}
  70. {
  71. $Log$
  72. Revision 1.41 2004-09-21 19:59:51 peter
  73. * x86_64 fixes
  74. * cleanup of fpcdefs.icn
  75. Revision 1.40 2004/09/21 17:25:12 peter
  76. * paraloc branch merged
  77. Revision 1.39.4.1 2004/08/31 20:43:06 peter
  78. * paraloc patch
  79. Revision 1.39 2004/08/15 13:30:18 florian
  80. * fixed alignment of variant records
  81. * more alignment problems fixed
  82. Revision 1.38 2004/06/20 08:55:29 florian
  83. * logs truncated
  84. Revision 1.37 2004/06/16 20:07:07 florian
  85. * dwarf branch merged
  86. Revision 1.36 2004/05/30 21:20:40 jonas
  87. * enable regvars by default for PPC
  88. Revision 1.35.2.4 2004/05/02 12:45:32 peter
  89. * enabled cpuhasfixedstack for x86-64 again
  90. * fixed size of temp allocation for parameters
  91. Revision 1.35.2.3 2004/05/02 01:02:24 peter
  92. * remove fixed stack for x86-64
  93. Revision 1.35.2.2 2004/04/29 23:30:28 peter
  94. * fix i386 compiler
  95. }