i_jvm.pas 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113
  1. {
  2. Copyright (c) 2010 by Jonas Maebe
  3. This unit implements support information structures for FreeBSD/NetBSD,
  4. OpenBSD and Darwin (Mac OS X)
  5. This program is free software; you can redistribute it and/or modify
  6. it under the terms of the GNU General Public License as published by
  7. the Free Software Foundation; either version 2 of the License, or
  8. (at your option) any later version.
  9. This program is distributed in the hope that it will be useful,
  10. but WITHOUT ANY WARRANTY; without even the implied warranty of
  11. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  12. GNU General Public License for more details.
  13. You should have received a copy of the GNU General Public License
  14. along with this program; if not, write to the Free Software
  15. Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  16. ****************************************************************************
  17. }
  18. unit i_jvm;
  19. {$i fpcdefs.inc}
  20. interface
  21. uses
  22. systems,rescmn;
  23. const
  24. res_jvmraw_info : tresinfo =
  25. (
  26. id : res_jvm_raw;
  27. resbin : 'fpcjres';
  28. rescmd : '-o $OBJ $DBG';
  29. rcbin : '';
  30. rccmd : '';
  31. resourcefileclass : nil;
  32. resflags : [res_no_compile];
  33. );
  34. { The 32 only means that code written for this target behaves
  35. semantically as if it were written for a 32 bit target (default
  36. integer evaluation width = 32 bit). It will work equally well on 32
  37. bit and 64 bit JVM implementations. }
  38. system_jvm_java32_info : tsysteminfo =
  39. (
  40. system : system_jvm_java32;
  41. name : 'Java Virtual Machine';
  42. shortname : 'Java';
  43. flags : [tf_files_case_sensitive,tf_no_generic_stackcheck,
  44. { avoid the creation of threadvar tables }
  45. tf_section_threadvars];
  46. cpu : cpu_jvm;
  47. unit_env : '';
  48. extradefines : '';
  49. exeext : '';
  50. defext : '.def';
  51. scriptext : '.sh';
  52. smartext : '.sl';
  53. unitext : '.ppu';
  54. unitlibext : '.ppl';
  55. asmext : '.j';
  56. objext : '.class';
  57. resext : '';
  58. resobjext : '.jar';
  59. sharedlibext : '.jar';
  60. staticlibext : '.jar';
  61. staticlibprefix : '';
  62. sharedlibprefix : '';
  63. sharedClibext : '.jar';
  64. staticClibext : '.jar';
  65. staticClibprefix : '';
  66. sharedClibprefix : '';
  67. importlibprefix : '';
  68. importlibext : '.jar';
  69. Cprefix : '';
  70. newline : #10;
  71. dirsep : '/';
  72. assem : as_jvm_jasmin;
  73. assemextern : as_jvm_jasmin;
  74. link : nil;
  75. linkextern : nil;
  76. ar : ar_none;
  77. res : res_jvm_raw;
  78. dbg : dbg_jasmin;
  79. script : script_unix;
  80. endian : endian_big;
  81. alignment :
  82. (
  83. procalign : 4;
  84. loopalign : 4;
  85. jumpalign : 0;
  86. constalignmin : 0;
  87. constalignmax : 4;
  88. varalignmin : 4;
  89. varalignmax : 4;
  90. localalignmin : 4;
  91. localalignmax : 4;
  92. recordalignmin : 0;
  93. recordalignmax : 2;
  94. maxCrecordalign : 4
  95. );
  96. first_parm_offset : 0;
  97. stacksize : 262144;
  98. abi : abi_default;
  99. );
  100. implementation
  101. end.