cputarg.pas 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  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. {**************************************
  44. Assemblers
  45. **************************************}
  46. ,CpuGas
  47. ,ogelf
  48. ,cpuelf
  49. {**************************************
  50. Debuginfo
  51. **************************************}
  52. {$define NoCFIDwarf}
  53. {define NoDbgDwarf}
  54. { Try only stabs for a start }
  55. {$ifndef NoCFIDwarf}
  56. ,cfidwarf
  57. {$endif NoCFIDwarf}
  58. {$ifndef NoDbgStabs}
  59. ,dbgstabs
  60. {$endif NoDbgStabs}
  61. {$ifndef NoDbgDwarf}
  62. ,dbgdwarf
  63. {$endif NoDbgDwarf}
  64. ;
  65. end.