t_palmos.pas 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
  1. {
  2. $Id$
  3. Copyright (c) 2001 by Peter Vreman
  4. This unit implements support import,export,link routines
  5. for the (i386) Amiga target
  6. This program is free software; you can redistribute it and/or modify
  7. it under the terms of the GNU General Public License as published by
  8. the Free Software Foundation; either version 2 of the License, or
  9. (at your option) any later version.
  10. This program is distributed in the hope that it will be useful,
  11. but WITHOUT ANY WARRANTY; without even the implied warranty of
  12. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  13. GNU General Public License for more details.
  14. You should have received a copy of the GNU General Public License
  15. along with this program; if not, write to the Free Software
  16. Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  17. ****************************************************************************
  18. }
  19. unit t_palmos;
  20. {$i defines.inc}
  21. interface
  22. implementation
  23. uses
  24. link,
  25. cutils,cclasses,
  26. globtype,globals,systems,verbose,script,fmodule;
  27. {*****************************************************************************
  28. Initialize
  29. *****************************************************************************}
  30. {$ifdef m68k}
  31. const
  32. target_m68k_palmos_info : ttargetinfo =
  33. (
  34. target : target_m68k_PalmOS;
  35. name : 'PalmOS';
  36. shortname : 'palmos';
  37. flags : [];
  38. cpu : m68k;
  39. short_name : 'PALMOS';
  40. unit_env : 'PALMUNITS';
  41. sharedlibext : '.so';
  42. staticlibext : '.a';
  43. sourceext : '.pp';
  44. pasext : '.pas';
  45. exeext : '';
  46. defext : '';
  47. scriptext : '.sh';
  48. smartext : '.sl';
  49. unitext : '.ppu';
  50. unitlibext : '.ppl';
  51. asmext : '.s';
  52. objext : '.o';
  53. resext : '.res';
  54. resobjext : '.or';
  55. libprefix : 'libp';
  56. Cprefix : '_';
  57. newline : #10;
  58. assem : as_m68k_as;
  59. assemextern : as_m68k_as;
  60. link : ld_m68k_palmos;
  61. linkextern : ld_m68k_palmos;
  62. ar : ar_m68k_ar;
  63. res : res_none;
  64. endian : endian_big;
  65. stackalignment : 2;
  66. maxCrecordalignment : 32;
  67. size_of_pointer : 4;
  68. size_of_longint : 4;
  69. heapsize : 128*1024;
  70. maxheapsize : 32768*1024;
  71. stacksize : 8192;
  72. DllScanSupported:false;
  73. use_bound_instruction : false;
  74. use_function_relative_addresses : false
  75. );
  76. {$endif m68k}
  77. initialization
  78. {$ifdef m68k}
  79. RegisterTarget(target_m68k_palmos_info);
  80. {$endif m68k}
  81. end.
  82. {
  83. $Log$
  84. Revision 1.1 2001-04-18 22:02:04 peter
  85. * registration of targets and assemblers
  86. }