kopensolaris-gnu.h 1.2 KB

1234567891011121314151617181920212223242526272829303132333435
  1. /* Definitions for kOpenSolaris-based GNU systems with ELF format
  2. Copyright (C) 2004-2015 Free Software Foundation, Inc.
  3. Contributed by Robert Millan.
  4. This file is part of GCC.
  5. GCC 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 3, or (at your option)
  8. any later version.
  9. GCC 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 GCC; see the file COPYING3. If not see
  15. <http://www.gnu.org/licenses/>. */
  16. #undef GNU_USER_TARGET_OS_CPP_BUILTINS
  17. #define GNU_USER_TARGET_OS_CPP_BUILTINS() \
  18. do \
  19. { \
  20. builtin_define ("__OpenSolaris_kernel__"); \
  21. builtin_define ("__GLIBC__"); \
  22. builtin_define_std ("unix"); \
  23. builtin_assert ("system=unix"); \
  24. builtin_assert ("system=posix"); \
  25. } \
  26. while (0)
  27. #undef GNU_USER_DYNAMIC_LINKER
  28. #define GNU_USER_DYNAMIC_LINKER "/lib/ld.so.1"