cputarg.pas 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  1. {
  2. Copyright (c) 2001 by Peter Vreman
  3. Includes the mips dependent target units
  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. unit cputarg;
  18. {$i fpcdefs.inc}
  19. interface
  20. implementation
  21. uses
  22. systems { prevent a syntax error when nothing is included }
  23. {$ifndef NOOPT}
  24. ,aoptcpu
  25. {$endif NOOPT}
  26. {$ifndef NOMIPSGAS}
  27. ,racpugas
  28. {$endif NOMIPSGAS}
  29. {**************************************
  30. Targets
  31. **************************************}
  32. {$ifndef NOTARGETLINUX}
  33. ,t_linux
  34. {$endif}
  35. {$ifndef NOTARGETANDROID}
  36. {$ifdef MIPSEL}
  37. ,t_android
  38. {$endif MIPSEL}
  39. {$endif}
  40. {$ifndef NOTARGETEMBEDDED}
  41. ,t_embed
  42. {$endif}
  43. {$ifndef NOTARGETPS1}
  44. ,t_ps1
  45. {$endif}
  46. {**************************************
  47. Assemblers
  48. **************************************}
  49. ,CpuGas
  50. ,ogelf
  51. ,cpuelf
  52. {**************************************
  53. Debuginfo
  54. **************************************}
  55. {$define NoCFIDwarf}
  56. {define NoDbgDwarf}
  57. { Try only stabs for a start }
  58. {$ifndef NoCFIDwarf}
  59. ,cfidwarf
  60. {$endif NoCFIDwarf}
  61. {$ifndef NoDbgStabs}
  62. ,dbgstabs
  63. {$endif NoDbgStabs}
  64. {$ifndef NoDbgDwarf}
  65. ,dbgdwarf
  66. {$endif NoDbgDwarf}
  67. ;
  68. end.