2
0

i_nwl.pas 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106
  1. {
  2. Copyright (c) 1998-2004 by Peter Vreman
  3. This unit implements support information structures for Netware (libc) modules
  4. This program is free software; you can redistribute it and/or modify
  5. it under the terms of the GNU General Public License as published by
  6. the Free Software Foundation; either version 2 of the License, or
  7. (at your option) any later version.
  8. This program is distributed in the hope that it will be useful,
  9. but WITHOUT ANY WARRANTY; without even the implied warranty of
  10. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  11. GNU General Public License for more details.
  12. You should have received a copy of the GNU General Public License
  13. along with this program; if not, write to the Free Software
  14. Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  15. ****************************************************************************}
  16. { This unit implements support information structures for Netware libc modules. }
  17. unit i_nwl;
  18. {$i fpcdefs.inc}
  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 : [tf_smartlink_library];
  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. importlibprefix : 'imp';
  51. importlibext : '.a';
  52. Cprefix : '';
  53. newline : #13#10;
  54. dirsep : '/';
  55. assem : as_i386_elf32;
  56. assemextern : as_gas;
  57. link : ld_none;
  58. linkextern : ld_netwlibc;
  59. ar : ar_gnu_ar;
  60. res : res_none;
  61. dbg : dbg_stabs;
  62. script : script_unix;
  63. endian : endian_little;
  64. alignment :
  65. (
  66. procalign : 4;
  67. loopalign : 4;
  68. jumpalign : 0;
  69. jumpalignskipmax : 0;
  70. coalescealign : 0;
  71. coalescealignskipmax: 0;
  72. constalignmin : 0;
  73. constalignmax : 4;
  74. varalignmin : 0;
  75. varalignmax : 4;
  76. localalignmin : 4;
  77. localalignmax : 4;
  78. recordalignmin : 0;
  79. recordalignmax : 4;
  80. maxCrecordalign : 4
  81. );
  82. first_parm_offset : 8;
  83. stacksize : 16384;
  84. stackalign : 4;
  85. abi : abi_default;
  86. llvmdatalayout : 'todo';
  87. );
  88. implementation
  89. initialization
  90. {$ifdef CPUI386}
  91. {$ifdef netwlibc}
  92. set_source_info(system_i386_netwlibc_info);
  93. {$endif netwlibc}
  94. {$endif CPUI386}
  95. end.