i_wdosx.pas 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131
  1. {
  2. $Id$
  3. Copyright (c) 1998-2002 by Peter Vreman
  4. This unit implements support information structures for win32
  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 wdosx. }
  19. unit i_wdosx;
  20. interface
  21. uses
  22. systems;
  23. const
  24. system_i386_wdosx_info : tsysteminfo =
  25. (
  26. system : system_i386_wdosx;
  27. name : 'WDOSX DOS extender';
  28. shortname : 'WDOSX';
  29. flags : [];
  30. cpu : cpu_i386;
  31. unit_env : 'WDOSXUNITS';
  32. extradefines : 'MSWINDOWS';
  33. sourceext : '.pp';
  34. pasext : '.pas';
  35. exeext : '.exe';
  36. defext : '.def';
  37. scriptext : '.bat';
  38. smartext : '.sl';
  39. unitext : '.ppu';
  40. unitlibext : '.ppl';
  41. asmext : '.s';
  42. objext : '.o';
  43. resext : '.rc';
  44. resobjext : '.or';
  45. sharedlibext : '.dll';
  46. staticlibext : '.a';
  47. staticlibprefix : '';
  48. sharedlibprefix : '';
  49. sharedClibext : '.dll';
  50. staticClibext : '.a';
  51. staticClibprefix : 'lib';
  52. sharedClibprefix : '';
  53. Cprefix : '_';
  54. newline : #13#10;
  55. dirsep : '\';
  56. files_case_relevent : false;
  57. assem : as_i386_pecoffwdosx;
  58. assemextern : as_gas;
  59. link : nil;
  60. linkextern : nil;
  61. ar : ar_gnu_ar;
  62. res : res_gnu_windres;
  63. script : script_dos;
  64. endian : endian_little;
  65. alignment :
  66. (
  67. procalign : 4;
  68. loopalign : 4;
  69. jumpalign : 0;
  70. constalignmin : 0;
  71. constalignmax : 4;
  72. varalignmin : 0;
  73. varalignmax : 4;
  74. localalignmin : 0;
  75. localalignmax : 4;
  76. recordalignmin : 0;
  77. recordalignmax : 2;
  78. maxCrecordalign : 16
  79. );
  80. first_parm_offset : 8;
  81. heapsize : 256*1024;
  82. stacksize : 32*1024*1024;
  83. DllScanSupported:true;
  84. use_function_relative_addresses : true
  85. );
  86. implementation
  87. initialization
  88. {$ifdef CPU86}
  89. {$ifdef WIN32}
  90. {$ifdef WDOSX}
  91. set_source_info(system_i386_wdosx_info);
  92. {$endif WDOSX}
  93. {$endif WIN32}
  94. {$endif CPU86}
  95. end.
  96. {
  97. $Log$
  98. Revision 1.5 2003-10-03 22:09:49 peter
  99. * removed paraalign
  100. Revision 1.4 2003/10/02 21:17:08 peter
  101. * use as,ld,ar instead of asw,ldw,arw for win32
  102. Revision 1.3 2003/03/23 23:31:54 hajny
  103. + platform extensions unified
  104. Revision 1.2 2002/09/07 15:25:15 peter
  105. * old logs removed and tabs fixed
  106. Revision 1.1 2002/09/06 15:03:51 carl
  107. * moved files to systems directory
  108. Revision 1.2 2002/08/12 15:08:39 carl
  109. + stab register indexes for powerpc (moved from gdb to cpubase)
  110. + tprocessor enumeration moved to cpuinfo
  111. + linker in target_info is now a class
  112. * many many updates for m68k (will soon start to compile)
  113. - removed some ifdef or correct them for correct cpu
  114. Revision 1.1 2002/07/26 21:15:38 florian
  115. * rewrote the system handling
  116. }