i_macos.pas 3.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495
  1. {
  2. $Id$
  3. Copyright (c) 1998-2002 by Peter Vreman
  4. This unit implements support information structures for MacOS
  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 MacOS. }
  19. unit i_macos;
  20. interface
  21. uses
  22. systems;
  23. const
  24. system_powerpc_macos_info : tsysteminfo =
  25. (
  26. system : system_powerpc_MACOS;
  27. name : 'MacOs (PowerPC)';
  28. shortname : 'MacOs/PPC';
  29. flags : [];
  30. cpu : cpu_powerpc;
  31. short_name : 'MACOS';
  32. unit_env : '';
  33. extradefines : '';
  34. sharedlibext : 'Lib';
  35. staticlibext : 'Lib';
  36. sourceext : '.pp';
  37. pasext : '.pas';
  38. exeext : '';
  39. defext : '';
  40. scriptext : '';
  41. smartext : '.sl';
  42. unitext : '.ppt';
  43. unitlibext : '.ppl';
  44. asmext : '.a';
  45. objext : '.o';
  46. resext : '.res';
  47. resobjext : '.or';
  48. staticlibprefix : '';
  49. sharedlibprefix : '';
  50. Cprefix : '';
  51. newline : #13;
  52. assem : as_powerpc_mpw;
  53. assemextern : as_powerpc_mpw;
  54. link : ld_powerpc_macos;
  55. linkextern : ld_powerpc_macos;
  56. ar : ar_powerpc_ar;
  57. res : res_powerpc_mpw;
  58. script : script_unix;
  59. endian : endian_big;
  60. stackalignment : 8;
  61. maxCrecordalignment : 32;
  62. size_of_longint : 4;
  63. heapsize : 256*1024;
  64. stacksize : 8192;
  65. DllScanSupported:false;
  66. use_function_relative_addresses : true
  67. );
  68. implementation
  69. initialization
  70. {$ifdef cpupowerpc}
  71. {$ifdef macos}
  72. set_source_info(system_powerpc_macos_info);
  73. {$endif macos}
  74. {$endif cpupowerpc}
  75. end.
  76. {
  77. $Log$
  78. Revision 1.2 2002-08-12 15:08:39 carl
  79. + stab register indexes for powerpc (moved from gdb to cpubase)
  80. + tprocessor enumeration moved to cpuinfo
  81. + linker in target_info is now a class
  82. * many many updates for m68k (will soon start to compile)
  83. - removed some ifdef or correct them for correct cpu
  84. Revision 1.1 2002/07/26 21:15:38 florian
  85. * rewrote the system handling
  86. }