i_symobi.pas 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107
  1. {
  2. Copyright (c) 2011 by Sven Barth
  3. This unit implements support information structures for Symobi
  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. }
  17. unit i_symobi;
  18. {$i fpcdefs.inc}
  19. interface
  20. uses
  21. systems, rescmn;
  22. const
  23. system_i386_symobi_info : tsysteminfo =
  24. (
  25. system : system_i386_symobi;
  26. name : 'Symobi for i386';
  27. shortname : 'Symobi';
  28. flags : [tf_smartlink_library
  29. ,tf_smartlink_sections{,tf_section_threadvars}{,tf_needs_dwarf_cfi},
  30. tf_no_pic_supported,
  31. tf_no_generic_stackcheck,tf_has_winlike_resources,
  32. tf_dwarf_only_local_labels,
  33. tf_safecall_exceptions];
  34. cpu : cpu_i386;
  35. unit_env : 'SYMOBIUNITS';
  36. extradefines : 'SYMOBI;UNIX;BSD;HASSYMOBI';
  37. exeext : '.exe';
  38. defext : '.def';
  39. scriptext : '.sh';
  40. smartext : '.sl';
  41. unitext : '.ppu';
  42. unitlibext : '.ppl';
  43. asmext : '.s';
  44. objext : '.o';
  45. resext : '.res';
  46. resobjext : '.or';
  47. sharedlibext : '.dll';
  48. staticlibext : '.a';
  49. staticlibprefix : 'libp';
  50. sharedlibprefix : 'lib.';
  51. sharedClibext : '.dll';
  52. staticClibext : '.a';
  53. staticClibprefix : 'lib';
  54. sharedClibprefix : 'lib.';
  55. importlibprefix : 'libimp';
  56. importlibext : '.a';
  57. Cprefix : '';
  58. newline : #10;
  59. dirsep : '/';
  60. assem : as_i386_pecoff;
  61. assemextern : as_gas;
  62. link : nil;
  63. linkextern : nil;
  64. ar : ar_gnu_ar;
  65. res : res_ext;
  66. dbg : dbg_stabs;
  67. script : script_unix;
  68. endian : endian_little;
  69. alignment :
  70. (
  71. procalign : 4;
  72. loopalign : 4;
  73. jumpalign : 0;
  74. constalignmin : 0;
  75. constalignmax : 4;
  76. varalignmin : 0;
  77. varalignmax : 4;
  78. localalignmin : 0;
  79. localalignmax : 4;
  80. recordalignmin : 0;
  81. recordalignmax : 2;
  82. maxCrecordalign : 4
  83. );
  84. first_parm_offset : 8;
  85. stacksize : 262144;
  86. abi : abi_default;
  87. );
  88. implementation
  89. initialization
  90. {$ifdef cpu86}
  91. {$ifdef Symobi}
  92. set_source_info(system_i386_Symobi_info);
  93. {$endif}
  94. {$endif cpu86}
  95. end.