i_palmos.pas 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  1. {
  2. Copyright (c) 1998-2002 by Peter Vreman
  3. This unit implements support information structures for PalmOS
  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 PalmOS. }
  18. unit i_palmos;
  19. interface
  20. uses
  21. systems;
  22. const
  23. system_m68k_palmos_info : tsysteminfo =
  24. (
  25. system : system_m68k_PalmOS;
  26. name : 'PalmOS';
  27. shortname : 'PalmOS';
  28. flags : [tf_code_small,tf_static_a5_based];
  29. cpu : cpu_m68k;
  30. short_name : 'PALMOS';
  31. unit_env : 'PALMUNITS';
  32. extradefines : '';
  33. sharedlibext : '.so';
  34. staticlibext : '.a';
  35. exeext : '';
  36. defext : '';
  37. scriptext : '.sh';
  38. smartext : '.sl';
  39. unitext : '.ppu';
  40. unitlibext : '.ppl';
  41. asmext : '.s';
  42. objext : '.o';
  43. resext : '.res';
  44. resobjext : '.or';
  45. staticlibprefix : 'libp';
  46. sharedlibprefix : 'lib';
  47. p_ext_support : false;
  48. Cprefix : '_';
  49. newline : #10;
  50. dirsep : '/';
  51. files_case_relevent : true;
  52. assem : as_gas;
  53. assemextern : as_gas;
  54. link : ld_m68k_palmos;
  55. linkextern : ld_m68k_palmos;
  56. ar : ar_m68k_ar;
  57. res : res_none;
  58. dbg : dbg_stabs;
  59. script : script_unix;
  60. endian : endian_big;
  61. stackalignment : 2;
  62. maxCrecordalignment : 4;
  63. stacksize : 8192;
  64. DllScanSupported:false;
  65. use_function_relative_addresses : false
  66. );
  67. res_m68k_palmos_info : tresinfo =
  68. (
  69. id : res_m68k_palmos;
  70. resbin : 'pilrc';
  71. rescmd : '-I $INC $RES'
  72. );
  73. implementation
  74. initialization
  75. {$ifdef cpu68}
  76. {$ifdef palmos}
  77. set_source_info(system_m68k_palmos_info);
  78. {$endif palmos}
  79. {$endif cpu68}
  80. end.