i_palmos.pas 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
  1. {
  2. $Id$
  3. Copyright (c) 1998-2002 by Peter Vreman
  4. This unit implements support information structures for PalmOS
  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. }
  18. { This unit implements support information structures for PalmOS. }
  19. unit i_palmos;
  20. interface
  21. uses
  22. systems;
  23. const
  24. system_m68k_palmos_info : tsysteminfo =
  25. (
  26. system : system_m68k_PalmOS;
  27. name : 'PalmOS';
  28. shortname : 'PalmOS';
  29. flags : [tf_code_small,tf_static_a5_based];
  30. cpu : cpu_m68k;
  31. short_name : 'PALMOS';
  32. unit_env : 'PALMUNITS';
  33. extradefines : '';
  34. sharedlibext : '.so';
  35. staticlibext : '.a';
  36. exeext : '';
  37. defext : '';
  38. scriptext : '.sh';
  39. smartext : '.sl';
  40. unitext : '.ppu';
  41. unitlibext : '.ppl';
  42. asmext : '.s';
  43. objext : '.o';
  44. resext : '.res';
  45. resobjext : '.or';
  46. staticlibprefix : 'libp';
  47. sharedlibprefix : 'lib';
  48. p_ext_support : false;
  49. Cprefix : '_';
  50. newline : #10;
  51. dirsep : '/';
  52. files_case_relevent : true;
  53. assem : as_gas;
  54. assemextern : as_gas;
  55. link : ld_m68k_palmos;
  56. linkextern : ld_m68k_palmos;
  57. ar : ar_m68k_ar;
  58. res : res_none;
  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.
  81. {
  82. $Log$
  83. Revision 1.7 2005-03-20 22:36:45 olle
  84. * Cleaned up handling of source file extension.
  85. + Added support for .p extension for macos and darwin
  86. Revision 1.6 2005/02/14 17:13:10 peter
  87. * truncate log
  88. }