i_palmos.pas 2.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  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. script : script_unix;
  59. endian : endian_big;
  60. stackalignment : 2;
  61. maxCrecordalignment : 4;
  62. stacksize : 8192;
  63. DllScanSupported:false;
  64. use_function_relative_addresses : false
  65. );
  66. res_m68k_palmos_info : tresinfo =
  67. (
  68. id : res_m68k_palmos;
  69. resbin : 'pilrc';
  70. rescmd : '-I $INC $RES'
  71. );
  72. implementation
  73. initialization
  74. {$ifdef cpu68}
  75. {$ifdef palmos}
  76. set_source_info(system_m68k_palmos_info);
  77. {$endif palmos}
  78. {$endif cpu68}
  79. end.