i_palmos.pas 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117
  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. sourceext : '.pp';
  37. pasext : '.pas';
  38. exeext : '';
  39. defext : '';
  40. scriptext : '.sh';
  41. smartext : '.sl';
  42. unitext : '.ppu';
  43. unitlibext : '.ppl';
  44. asmext : '.s';
  45. objext : '.o';
  46. resext : '.res';
  47. resobjext : '.or';
  48. staticlibprefix : 'libp';
  49. sharedlibprefix : 'lib';
  50. Cprefix : '_';
  51. newline : #10;
  52. dirsep : '/';
  53. files_case_relevent : true;
  54. assem : as_gas;
  55. assemextern : as_gas;
  56. link : ld_m68k_palmos;
  57. linkextern : ld_m68k_palmos;
  58. ar : ar_m68k_ar;
  59. res : res_none;
  60. script : script_unix;
  61. endian : endian_big;
  62. stackalignment : 2;
  63. maxCrecordalignment : 4;
  64. heapsize : 128*1024;
  65. stacksize : 8192;
  66. DllScanSupported:false;
  67. use_function_relative_addresses : false
  68. );
  69. res_m68k_palmos_info : tresinfo =
  70. (
  71. id : res_m68k_palmos;
  72. resbin : 'pilrc';
  73. rescmd : '-I $INC $RES'
  74. );
  75. implementation
  76. initialization
  77. {$ifdef cpu68}
  78. {$ifdef palmos}
  79. set_source_info(system_m68k_palmos_info);
  80. {$endif palmos}
  81. {$endif cpu68}
  82. end.
  83. {
  84. $Log$
  85. Revision 1.2 2003-01-12 15:42:23 peter
  86. * m68k pathexist update from 1.0.x
  87. * palmos res update from 1.0.x
  88. Revision 1.1 2002/09/06 15:03:51 carl
  89. * moved files to systems directory
  90. Revision 1.3 2002/08/13 18:01:51 carl
  91. * rename swatoperands to swapoperands
  92. + m68k first compilable version (still needs a lot of testing):
  93. assembler generator, system information , inline
  94. assembler reader.
  95. Revision 1.2 2002/08/12 15:08:39 carl
  96. + stab register indexes for powerpc (moved from gdb to cpubase)
  97. + tprocessor enumeration moved to cpuinfo
  98. + linker in target_info is now a class
  99. * many many updates for m68k (will soon start to compile)
  100. - removed some ifdef or correct them for correct cpu
  101. Revision 1.1 2002/07/26 21:15:38 florian
  102. * rewrote the system handling
  103. }