i_jvm.pas 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102
  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;
  23. const
  24. { The 32 only means that code written for this target behaves
  25. semantically as if it were written for a 32 bit target (default
  26. integer evaluation width = 32 bit). It will work equally well on 32
  27. bit and 64 bit JVM implementations. }
  28. system_jvm_java32_info : tsysteminfo =
  29. (
  30. system : system_jvm_java32;
  31. name : 'Java Virtual Machine';
  32. shortname : 'Java';
  33. flags : [tf_files_case_sensitive,
  34. { avoid the creation of threadvar tables }
  35. tf_section_threadvars];
  36. cpu : cpu_jvm;
  37. unit_env : '';
  38. extradefines : '';
  39. exeext : '';
  40. defext : '.def';
  41. scriptext : '.sh';
  42. smartext : '.sl';
  43. unitext : '.ppu';
  44. unitlibext : '.ppl';
  45. asmext : '.j';
  46. objext : '.class';
  47. resext : '.res';
  48. resobjext : '.or';
  49. sharedlibext : '.jar';
  50. staticlibext : '.jar';
  51. staticlibprefix : '';
  52. sharedlibprefix : '';
  53. sharedClibext : '.jar';
  54. staticClibext : '.jar';
  55. staticClibprefix : '';
  56. sharedClibprefix : '';
  57. importlibprefix : '';
  58. importlibext : '.jar';
  59. Cprefix : '';
  60. newline : #10;
  61. dirsep : '/';
  62. assem : as_jvm_jasmin;
  63. assemextern : as_jvm_jasmin;
  64. link : nil;
  65. linkextern : nil;
  66. ar : ar_none;
  67. res : res_none;
  68. dbg : dbg_jasmin;
  69. script : script_unix;
  70. endian : endian_big;
  71. alignment :
  72. (
  73. procalign : 4;
  74. loopalign : 4;
  75. jumpalign : 0;
  76. constalignmin : 0;
  77. constalignmax : 4;
  78. varalignmin : 4;
  79. varalignmax : 4;
  80. localalignmin : 4;
  81. localalignmax : 4;
  82. recordalignmin : 0;
  83. recordalignmax : 2;
  84. maxCrecordalign : 4
  85. );
  86. first_parm_offset : 0;
  87. stacksize : 262144;
  88. abi : abi_default;
  89. );
  90. implementation
  91. end.