systems.inc 8.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226
  1. {
  2. Copyright (c) 1998-2008 by Florian Klaempfl
  3. This include contains the enumeration
  4. information about the target systems supported
  5. (these are not processor specific)
  6. This program is free software; you can redistribute it and/or modify
  7. iu under the terms of the GNU General Public License as published by
  8. the Free Software Foundation; either version 2 of the License, or
  9. (at your option) any later version.
  10. This program is distributed in the hope that it will be useful,
  11. but WITHOUT ANY WARRANTY; without even the implied warranty of
  12. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  13. GNU General Public License for more details.
  14. You should have received a copy of the GNU General Public License
  15. along with this program; if not, write to the Free Software
  16. Foundation, Inc., 675 Mass Ave, Cambridge- MA 02139, USA.
  17. ****************************************************************************
  18. }
  19. type
  20. tendian = (endian_little,endian_big);
  21. (*
  22. IMPORTANT NOTE:
  23. The value of this enumeration is stored in PPU files.
  24. Therefore adding new CPU targets should not change the
  25. values of the pre-existing targets. (CEC)
  26. FURTHERMORE : Make sure that this branch values, are
  27. consistant with the main branch version always.
  28. *)
  29. tsystemcpu=
  30. (
  31. cpu_no, { 0 }
  32. cpu_i386, { 1 }
  33. cpu_m68k, { 2 }
  34. cpu_alpha, { 3 }
  35. cpu_powerpc, { 4 }
  36. cpu_sparc, { 5 }
  37. cpu_vm, { 6 }
  38. cpu_iA64, { 7 }
  39. cpu_x86_64, { 8 }
  40. cpu_mipseb, { 9 }
  41. cpu_arm, { 10 }
  42. cpu_powerpc64, { 11 }
  43. cpu_avr, { 12 }
  44. cpu_mipsel, { 13 }
  45. cpu_jvm { 14 }
  46. );
  47. tasmmode= (asmmode_none
  48. { standard assembler (cpu dependant) with full parsing }
  49. ,asmmode_standard
  50. ,asmmode_i386_att
  51. ,asmmode_i386_intel
  52. ,asmmode_ppc_gas
  53. ,asmmode_ppc_motorola
  54. ,asmmode_arm_gas
  55. ,asmmode_sparc_gas
  56. ,asmmode_x86_64_gas
  57. ,asmmode_m68k_mot
  58. ,asmmode_x86_64_intel
  59. ,asmmode_x86_64_att
  60. ,asmmode_avr_gas
  61. );
  62. (* IMPORTANT NOTE:
  63. the integer value of this enum is stored in PPU
  64. files to recognize the target, so if you add new targets
  65. allways add them at end PM
  66. FURTHERMORE : Make sure that this branch values are
  67. consistant with the main branch version always. (CEC)
  68. *)
  69. type
  70. tsystem =
  71. (
  72. system_none, { 0 }
  73. obsolete_system_i386_GO32V1,{ 1 }
  74. system_i386_GO32V2, { 2 }
  75. system_i386_linux, { 3 }
  76. system_i386_OS2, { 4 }
  77. system_i386_Win32, { 5 }
  78. system_i386_freebsd, { 6 }
  79. system_m68k_Amiga, { 7 }
  80. system_m68k_Atari, { 8 }
  81. system_m68k_Mac, { 9 }
  82. system_m68k_linux, { 10 }
  83. system_m68k_PalmOS, { 11 }
  84. system_alpha_linux, { 12 }
  85. system_powerpc_linux, { 13 }
  86. system_powerpc_macos, { 14 }
  87. system_i386_solaris, { 15 }
  88. system_i386_beos, { 16 }
  89. system_i386_netbsd, { 17 }
  90. system_m68k_netbsd, { 18 }
  91. system_i386_Netware, { 19 }
  92. system_i386_qnx, { 20 }
  93. system_i386_wdosx, { 21 }
  94. system_sparc_solaris, { 22 }
  95. system_sparc_linux, { 23 }
  96. system_i386_openbsd, { 24 }
  97. system_m68k_openbsd, { 25 }
  98. system_x86_64_linux, { 26 }
  99. system_powerpc_darwin, { 27 }
  100. system_i386_EMX, { 28 }
  101. system_powerpc_netbsd, { 29 }
  102. system_powerpc_openbsd, { 30 }
  103. system_arm_linux, { 31 }
  104. system_i386_watcom, { 32 }
  105. system_powerpc_MorphOS, { 33 }
  106. system_x86_64_freebsd, { 34 }
  107. system_i386_netwlibc, { 35 }
  108. system_powerpc_Amiga, { 36 }
  109. system_x86_64_win64, { 37 }
  110. system_arm_wince, { 38 }
  111. system_ia64_win64, { 39 }
  112. system_i386_wince, { 40 }
  113. system_x86_6432_linux, { 41 }
  114. system_arm_gba, { 42 }
  115. system_powerpc64_linux, { 43 }
  116. system_i386_darwin, { 44 }
  117. system_arm_palmos, { 45 }
  118. system_powerpc64_darwin, { 46 }
  119. system_arm_nds, { 47 }
  120. system_i386_embedded, { 48 }
  121. system_m68k_embedded, { 49 }
  122. system_alpha_embedded, { 50 }
  123. system_powerpc_embedded, { 51 }
  124. system_sparc_embedded, { 52 }
  125. system_vm_embedded, { 53 }
  126. system_iA64_embedded, { 54 }
  127. system_x86_64_embedded, { 55 }
  128. system_mips_embedded, { 56 }
  129. system_arm_embedded, { 57 }
  130. system_powerpc64_embedded, { 58 }
  131. system_i386_symbian, { 59 }
  132. system_arm_symbian, { 60 }
  133. system_x86_64_darwin, { 61 }
  134. system_avr_embedded, { 62 }
  135. system_i386_haiku, { 63 }
  136. system_arm_darwin, { 64 }
  137. system_x86_64_solaris, { 65 }
  138. system_mipseb_linux, { 66 }
  139. system_mipsel_linux, { 67 }
  140. system_i386_nativent, { 68 }
  141. system_i386_iphonesim, { 69 }
  142. system_powerpc_wii, { 70 }
  143. system_x86_64_openbsd, { 71 }
  144. system_x86_64_netbsd, { 72 }
  145. system_powerpc_aix, { 73 }
  146. system_powerpc64_aix, { 74 }
  147. system_jvm_java32, { 75 }
  148. system_jvm_android32 { 76 }
  149. );
  150. type
  151. tasm = (as_none
  152. ,as_gas { standard gnu assembler }
  153. ,as_i386_as_aout
  154. ,as_i386_nasmcoff
  155. ,as_i386_nasmwin32
  156. ,as_i386_nasmwdosx
  157. ,as_i386_nasmelf
  158. ,as_i386_nasmobj
  159. ,as_i386_nasmbeos
  160. ,as_i386_tasm
  161. ,as_i386_masm
  162. ,as_i386_wasm
  163. ,as_i386_coff
  164. ,as_i386_pecoff
  165. ,as_i386_elf32
  166. ,as_i386_pecoffwdosx
  167. ,as_m68k_mit
  168. ,as_powerpc_mpw
  169. ,as_darwin
  170. ,as_i386_macho
  171. ,as_x86_64_masm
  172. ,as_x86_64_pecoff
  173. ,as_i386_pecoffwince
  174. ,as_arm_pecoffwince
  175. ,as_x86_64_elf64
  176. ,as_sparc_elf32
  177. ,as_ggas { gnu assembler called "gas" instead of "as" }
  178. ,as_i386_nasmhaiku
  179. ,as_powerpc_vasm
  180. ,as_i386_nlmcoff
  181. ,as_powerpc_xcoff
  182. ,as_jvm_jasmin
  183. );
  184. tar = (ar_none
  185. ,ar_gnu_ar
  186. ,ar_mpw_ar
  187. ,ar_gnu_ar_scripted
  188. ,ar_gnu_gar
  189. );
  190. tres = (res_none
  191. ,res_gnu_windres,res_watcom_wrc_os2
  192. ,res_m68k_palmos,res_m68k_mpw
  193. ,res_powerpc_mpw,res_elf,res_xcoff
  194. ,res_win64_gorc, res_macho, res_ext
  195. ,res_jvm_raw
  196. );
  197. tresinfoflags = (res_external_file,res_arch_in_file_name
  198. ,res_single_file,res_no_compile);
  199. tdbg = (dbg_none
  200. ,dbg_stabs,dbg_stabx,dbg_dwarf2,dbg_dwarf3,dbg_dwarf4,dbg_jasmin
  201. );
  202. tscripttype = (script_none
  203. ,script_dos,script_unix,script_amiga,
  204. script_mpw
  205. );
  206. tabi = (abi_default
  207. ,abi_powerpc_sysv,abi_powerpc_aix
  208. ,abi_eabi,abi_armeb,abi_eabihf
  209. );