i_amiga.pas 5.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180
  1. {
  2. $Id$
  3. Copyright (c) 1998-2002 by Peter Vreman
  4. This unit implements support information structures for AmigaOS
  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 the AmigaOS. }
  19. unit i_amiga;
  20. interface
  21. uses
  22. systems;
  23. const
  24. system_m68k_amiga_info : tsysteminfo =
  25. (
  26. system : system_m68k_Amiga;
  27. name : 'Commodore Amiga';
  28. shortname : 'amiga';
  29. flags : [];
  30. cpu : cpu_m68k;
  31. unit_env : '';
  32. extradefines : '';
  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 : '.library';
  44. staticlibext : '.a';
  45. staticlibprefix : 'lib';
  46. sharedlibprefix : '';
  47. sharedClibext : '.library';
  48. staticClibext : '.a';
  49. staticClibprefix : 'lib';
  50. sharedClibprefix : '';
  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_amiga;
  63. endian : endian_big;
  64. alignment :
  65. (
  66. procalign : 4;
  67. loopalign : 4;
  68. jumpalign : 0;
  69. constalignmin : 0;
  70. constalignmax : 4;
  71. varalignmin : 0;
  72. varalignmax : 4;
  73. localalignmin : 0;
  74. localalignmax : 4;
  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_powerpc_amiga_info : tsysteminfo =
  85. (
  86. system : system_powerpc_Amiga;
  87. name : 'AmigaOS for PowerPC';
  88. shortname : 'amigappc';
  89. flags : [];
  90. cpu : cpu_powerpc;
  91. unit_env : '';
  92. extradefines : '';
  93. sourceext : '.pp';
  94. pasext : '.pas';
  95. exeext : '';
  96. defext : '.def';
  97. scriptext : '.sh';
  98. smartext : '.sl';
  99. unitext : '.ppu';
  100. unitlibext : '.ppl';
  101. asmext : '.s';
  102. objext : '.o';
  103. resext : '.res';
  104. resobjext : '.or';
  105. sharedlibext : '.library';
  106. staticlibext : '.a';
  107. staticlibprefix : 'lib';
  108. sharedlibprefix : '';
  109. sharedClibext : '.library';
  110. staticClibext : '.a';
  111. staticClibprefix : 'lib';
  112. sharedClibprefix : '';
  113. Cprefix : '';
  114. newline : #10;
  115. dirsep : '/';
  116. files_case_relevent : true;
  117. assem : as_gas;
  118. assemextern : as_gas;
  119. link : nil;
  120. linkextern : nil;
  121. ar : ar_gnu_ar;
  122. res : res_none;
  123. script : script_amiga;
  124. endian : endian_big;
  125. alignment :
  126. (
  127. procalign : 4;
  128. loopalign : 4;
  129. jumpalign : 0;
  130. constalignmin : 0;
  131. constalignmax : 4;
  132. varalignmin : 0;
  133. varalignmax : 4;
  134. localalignmin : 0;
  135. localalignmax : 4;
  136. recordalignmin : 0;
  137. recordalignmax : 4;
  138. maxCrecordalign : 4
  139. );
  140. first_parm_offset : 8;
  141. stacksize : 262144;
  142. DllScanSupported:false;
  143. use_function_relative_addresses : true
  144. );
  145. implementation
  146. initialization
  147. {$ifdef CPU68}
  148. {$ifdef AMIGA}
  149. set_source_info(system_m68k_Amiga_info);
  150. {$endif AMIGA}
  151. {$endif CPU68}
  152. {$ifdef CPUPOWERPC}
  153. {$ifdef AMIGA}
  154. // set_source_info(system_powerpc_Amiga_info);
  155. {$endif AMIGA}
  156. {$endif CPUPOWERPC}
  157. end.
  158. {
  159. $Log$
  160. Revision 1.9 2005-03-20 22:36:45 olle
  161. * Cleaned up handling of source file extension.
  162. + Added support for .p extension for macos and darwin
  163. Revision 1.8 2005/02/14 17:13:10 peter
  164. * truncate log
  165. Revision 1.7 2005/02/03 03:54:06 karoly
  166. t_morph.pas
  167. }