From: Stan Shebs Date: Sat, 28 Apr 2001 22:18:06 +0000 (+0000) Subject: darwin.h (STANDARD_EXEC_PREFIX): Don't define. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f37f462aa63f3290f973f7b30288ea70373969a8;p=gcc.git darwin.h (STANDARD_EXEC_PREFIX): Don't define. * config/darwin.h (STANDARD_EXEC_PREFIX): Don't define. (NEXT_OBJC_RUNTIME): Define. From-SVN: r41665 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index c15c7ffd139..dc3261a6cb7 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2001-04-28 Stan Shebs + + * config/darwin.h (STANDARD_EXEC_PREFIX): Don't define. + (NEXT_OBJC_RUNTIME): Define. + Sat Apr 28 21:02:58 CEST 2001 Jan Hubicka * rtl.h (simplify_gen_relational): Add cmp_mode parameter. diff --git a/gcc/config/darwin.h b/gcc/config/darwin.h index 269d78ce983..fa902410625 100644 --- a/gcc/config/darwin.h +++ b/gcc/config/darwin.h @@ -30,10 +30,10 @@ Boston, MA 02111-1307, USA. */ /* Although NeXT ran on many different architectures, as of Jan 2001 the only supported Darwin targets are PowerPC and x86. */ -/* Make the compiler look here for standard stuff. */ - -#undef STANDARD_EXEC_PREFIX -#define STANDARD_EXEC_PREFIX "/usr/libexec/" +/* Technically, STANDARD_EXEC_PREFIX should be /usr/libexec/, but in + practice this makes it hard to install new compilers elsewhere, so + leave it undefined and expect system builders to set configure args + correctly. */ /* Name of the command that invokes the compiler - used in g++.c. */ @@ -70,6 +70,11 @@ Boston, MA 02111-1307, USA. */ #undef WCHAR_TYPE_SIZE #define WCHAR_TYPE_SIZE 32 +/* Default to using the NeXT-style runtime, since that's what is + pre-installed on Darwin systems. */ + +#define NEXT_OBJC_RUNTIME + /* Don't default to pcc-struct-return, because gcc is the only compiler, and we want to retain compatibility with older gcc versions. */