i_sunos.pas 5.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180
  1. {
  2. $Id$
  3. Copyright (c) 1998-2002 by Peter Vreman
  4. This unit implements support information structures for solaris
  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. { This unit implements support information structures for solaris. }
  19. unit i_sunos;
  20. interface
  21. uses
  22. systems;
  23. const
  24. system_i386_solaris_info : tsysteminfo =
  25. (
  26. system : system_i386_solaris;
  27. name : 'Solaris for i386';
  28. shortname : 'solaris';
  29. flags : [tf_under_development];
  30. cpu : cpu_i386;
  31. unit_env : 'SOLARISUNITS';
  32. extradefines : 'UNIX;LIBC';
  33. exeext : '';
  34. defext : '.def';
  35. scriptext : '.sh';
  36. smartext : '.sl';
  37. unitext : '.ppu';
  38. unitlibext : '.ppl';
  39. asmext : '.s';
  40. objext : '.o';
  41. resext : '.res';
  42. resobjext : '.or';
  43. sharedlibext : '.so';
  44. staticlibext : '.a';
  45. staticlibprefix : 'libp';
  46. sharedlibprefix : 'lib';
  47. sharedClibext : '.so';
  48. staticClibext : '.a';
  49. staticClibprefix : 'lib';
  50. sharedClibprefix : 'lib';
  51. p_ext_support : false;
  52. Cprefix : '';
  53. newline : #10;
  54. dirsep : '/';
  55. files_case_relevent : true;
  56. assem : as_gas;
  57. assemextern : as_gas;
  58. link : nil;
  59. linkextern : nil;
  60. ar : ar_gnu_ar;
  61. res : res_none;
  62. script : script_unix;
  63. endian : endian_little;
  64. alignment :
  65. (
  66. procalign : 4;
  67. loopalign : 4;
  68. jumpalign : 0;
  69. constalignmin : 0;
  70. constalignmax : 1;
  71. varalignmin : 0;
  72. varalignmax : 1;
  73. localalignmin : 0;
  74. localalignmax : 1;
  75. recordalignmin : 0;
  76. recordalignmax : 2;
  77. maxCrecordalign : 4
  78. );
  79. first_parm_offset : 8;
  80. stacksize : 262144;
  81. DllScanSupported:false;
  82. use_function_relative_addresses : true
  83. );
  84. system_sparc_solaris_info : tsysteminfo =
  85. (
  86. system : system_sparc_solaris;
  87. name : 'Solaris for SPARC';
  88. shortname : 'solaris';
  89. flags : [tf_needs_symbol_size];
  90. cpu : cpu_SPARC;
  91. unit_env : 'SOLARISUNITS';
  92. extradefines : 'UNIX;LIBC;';
  93. exeext : '';
  94. defext : '.def';
  95. scriptext : '.sh';
  96. smartext : '.sl';
  97. unitext : '.ppu';
  98. unitlibext : '.ppl';
  99. asmext : '.s';
  100. objext : '.o';
  101. resext : '.res';
  102. resobjext : '.or';
  103. sharedlibext : '.so';
  104. staticlibext : '.a';
  105. staticlibprefix : 'libp';
  106. sharedlibprefix : 'lib';
  107. sharedClibext : '.so';
  108. staticClibext : '.a';
  109. staticClibprefix : 'lib';
  110. sharedClibprefix : 'lib';
  111. p_ext_support : false;
  112. Cprefix : '';
  113. newline : #10;
  114. dirsep : '/';
  115. files_case_relevent : true;
  116. assem : as_gas;
  117. assemextern : as_gas;
  118. link : nil;
  119. linkextern : nil;
  120. ar : ar_gnu_ar;
  121. res : res_none;
  122. script : script_unix;
  123. endian : endian_big;
  124. alignment :
  125. (
  126. procalign : 4;
  127. loopalign : 4;
  128. jumpalign : 0;
  129. constalignmin : 0;
  130. constalignmax : 8;
  131. varalignmin : 0;
  132. varalignmax : 8;
  133. localalignmin : 4;
  134. localalignmax : 8;
  135. recordalignmin : 0;
  136. recordalignmax : 8;
  137. maxCrecordalign : 8
  138. );
  139. first_parm_offset : 92;
  140. stacksize : 262144;
  141. DllScanSupported:false;
  142. use_function_relative_addresses : true
  143. );
  144. implementation
  145. initialization
  146. {$ifdef CPU86}
  147. {$ifdef solaris}
  148. set_source_info(system_i386_solaris_info);
  149. {$endif solaris}
  150. {$endif CPU86}
  151. {$ifdef CPUSparc}
  152. {$ifdef solaris}
  153. set_source_info(system_sparc_solaris_info);
  154. {$endif solaris}
  155. {$endif CPUSparc}
  156. end.
  157. {
  158. $Log$
  159. Revision 1.8 2005-03-20 22:36:45 olle
  160. * Cleaned up handling of source file extension.
  161. + Added support for .p extension for macos and darwin
  162. Revision 1.7 2005/02/14 17:13:10 peter
  163. * truncate log
  164. Revision 1.6 2005/02/13 20:11:16 peter
  165. * sunos to solaris
  166. }