i_nwl.pas 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110
  1. {
  2. $Id$
  3. Copyright (c) 1998-2004 by Peter Vreman
  4. This unit implements support information structures for Netware (libc) modules
  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. { This unit implements support information structures for Netware libc modules. }
  18. unit i_nwl;
  19. interface
  20. uses
  21. systems;
  22. const
  23. system_i386_netwlibc_info : tsysteminfo =
  24. (
  25. system : system_i386_netwlibc;
  26. name : 'Netware for i386(libc)';
  27. shortname : 'Netwlibc';
  28. flags : [];
  29. cpu : cpu_i386;
  30. unit_env : 'NETWLIBCUNITS';
  31. extradefines : 'NETWARE;NETWARE_LIBC';
  32. exeext : '.nlm';
  33. defext : '.def';
  34. scriptext : '.sh';
  35. smartext : '.sl';
  36. unitext : '.ppu';
  37. unitlibext : '.ppl';
  38. asmext : '.s';
  39. objext : '.o';
  40. resext : '.res';
  41. resobjext : '.or';
  42. sharedlibext : '.nlm';
  43. staticlibext : '.a';
  44. staticlibprefix : '';
  45. sharedlibprefix : '';
  46. sharedClibext : '.nlm';
  47. staticClibext : '.a';
  48. staticClibprefix : '';
  49. sharedClibprefix : '';
  50. p_ext_support : false;
  51. Cprefix : '';
  52. newline : #13#10;
  53. dirsep : '/';
  54. files_case_relevent : false;
  55. assem : as_i386_elf32;
  56. assemextern : as_gas;
  57. link : nil;
  58. linkextern : nil;
  59. ar : ar_gnu_ar;
  60. res : res_none;
  61. script : script_unix;
  62. endian : endian_little;
  63. alignment :
  64. (
  65. procalign : 4;
  66. loopalign : 4;
  67. jumpalign : 0;
  68. constalignmin : 0;
  69. constalignmax : 4;
  70. varalignmin : 0;
  71. varalignmax : 4;
  72. localalignmin : 4;
  73. localalignmax : 4;
  74. recordalignmin : 0;
  75. recordalignmax : 4;
  76. maxCrecordalign : 4
  77. );
  78. first_parm_offset : 8;
  79. stacksize : 16384;
  80. DllScanSupported:false;
  81. use_function_relative_addresses : true
  82. );
  83. implementation
  84. initialization
  85. {$ifdef CPU86}
  86. {$ifdef netwlibc}
  87. set_source_info(system_i386_netwlibc_info);
  88. {$endif netwlibc}
  89. {$endif CPU86}
  90. end.
  91. {
  92. $Log$
  93. Revision 1.5 2005-03-20 22:36:45 olle
  94. * Cleaned up handling of source file extension.
  95. + Added support for .p extension for macos and darwin
  96. Revision 1.4 2005/02/14 17:13:10 peter
  97. * truncate log
  98. }