i_symbian.pas 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106
  1. {
  2. Copyright (c) 1998-2002 by Peter Vreman
  3. This unit implements support information structures for win32
  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. { This unit implements support information structures for win32. }
  18. unit i_symbian;
  19. interface
  20. uses
  21. systems;
  22. const
  23. system_i386_symbian_info : tsysteminfo =
  24. (
  25. system : system_i386_SYMBIAN;
  26. name : 'Symbian OS for i386';
  27. shortname : 'Symbian';
  28. flags : [tf_files_case_aware,tf_has_dllscanner,tf_use_function_relative_addresses
  29. ,tf_smartlink_sections{,tf_section_threadvars}{,tf_needs_dwarf_cfi},tf_winlikewidestring];
  30. cpu : cpu_i386;
  31. unit_env : 'SYMBIANUNITS';
  32. extradefines : 'UNIX;SYMBIAN';
  33. exeext : '.exe';
  34. defext : '.def';
  35. scriptext : '.bat';
  36. smartext : '.sl';
  37. unitext : '.ppu';
  38. unitlibext : '.ppl';
  39. asmext : '.s';
  40. objext : '.o';
  41. resext : '.res';
  42. resobjext : '.or';
  43. sharedlibext : '.dll';
  44. staticlibext : '.a';
  45. staticlibprefix : 'libp';
  46. sharedlibprefix : '';
  47. sharedClibext : '.dll';
  48. staticClibext : '.a';
  49. staticClibprefix : 'lib';
  50. sharedClibprefix : '';
  51. Cprefix : '_';
  52. newline : #13#10;
  53. dirsep : '\';
  54. assem : as_i386_pecoff;
  55. assemextern : as_gas;
  56. link : nil;
  57. linkextern : nil;
  58. ar : ar_gnu_ar;
  59. res : res_gnu_windres;
  60. dbg : dbg_stabs;
  61. script : script_dos;
  62. endian : endian_little;
  63. alignment :
  64. (
  65. procalign : 16;
  66. loopalign : 4;
  67. jumpalign : 0;
  68. constalignmin : 0;
  69. constalignmax : 16;
  70. varalignmin : 0;
  71. varalignmax : 16;
  72. localalignmin : 4;
  73. localalignmax : 8;
  74. recordalignmin : 0;
  75. recordalignmax : 4;
  76. maxCrecordalign : 16
  77. );
  78. first_parm_offset : 8;
  79. stacksize : 262144;
  80. abi : abi_default;
  81. );
  82. implementation
  83. initialization
  84. {$ifdef CPU86}
  85. {$ifdef Symbian}
  86. set_source_info(system_i386_symbian_info);
  87. {$endif Symbian}
  88. {$endif CPU86}
  89. {$ifdef CPUARM}
  90. {$ifdef Symbian}
  91. set_source_info(system_arm_symbian_info);
  92. {$endif Symbian}
  93. {$endif CPUARM}
  94. end.