darwin8.h 1.3 KB

1234567891011121314151617181920212223242526272829303132
  1. /* Target definitions for Darwin 8.0 and above (Mac OS X) systems.
  2. Copyright (C) 2004-2015 Free Software Foundation, Inc.
  3. This file is part of GCC.
  4. GCC 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 3, or (at your option)
  7. any later version.
  8. GCC 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 GCC; see the file COPYING3. If not see
  14. <http://www.gnu.org/licenses/>. */
  15. /* Machine dependent libraries. Include libmx when compiling on
  16. Darwin 7.0 and above, but before libSystem, since the functions are
  17. actually in libSystem but for 7.x compatibility we want them to be
  18. looked for in libmx first---but only do this if 7.x compatibility
  19. is a concern, which it's not in 64-bit mode. Include
  20. libSystemStubs when compiling on (not necessarily for) 8.0 and
  21. above and not 64-bit long double. */
  22. #undef LIB_SPEC
  23. #define LIB_SPEC "%{!static:\
  24. %{!mlong-double-64:%{pg:-lSystemStubs_profile;:-lSystemStubs}} \
  25. %{!m64:%:version-compare(>< 10.3 10.4 mmacosx-version-min= -lmx)} -lSystem}"