From b89a3806812e3b0980988d9ae67d9af40116ee5d Mon Sep 17 00:00:00 2001 From: Geoffrey Keating Date: Mon, 3 Mar 2003 23:20:58 +0000 Subject: [PATCH] * doc/install.texi (Specific): Update entry for powerpc-darwin. From-SVN: r63742 --- gcc/ChangeLog | 4 ++++ gcc/doc/install.texi | 29 +++++++++++++---------------- 2 files changed, 17 insertions(+), 16 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 3edae7d..0fd2fd3 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2003-03-03 Geoffrey Keating + + * doc/install.texi (Specific): Update entry for powerpc-darwin. + 2003-03-03 Richard Henderson * config/ia64/ia64.h (HAVE_AS_LTOFFX_LDXMOV_RELOCS): Default to 0. diff --git a/gcc/doc/install.texi b/gcc/doc/install.texi index 0d1496d..d5fc559 100644 --- a/gcc/doc/install.texi +++ b/gcc/doc/install.texi @@ -2921,32 +2921,29 @@ switch by using the configure option @option{--with-cpu-@var{cpu_type}}. @heading @anchor{powerpc-*-darwin*}powerpc-*-darwin* PowerPC running Darwin (Mac OS X kernel). -GCC 3.0 does not support Darwin, but 3.1 and later releases will work. - Pre-installed versions of Mac OS X may not include any developer tools, meaning that you will not be able to build GCC from source. Tool binaries are available at @uref{http://www.opensource.apple.com/projects/darwin/} (free registration required). -Versions of the assembler prior to ``cctools-364'' cannot handle the -4-argument form of @code{rlwinm} and related mask-using instructions. Darwin -1.3 (Mac OS X 10.0) uses cctools-353 for instance. To get cctools-364, +If you're using Darwin 1.3 (Mac OS X 10.0) or earlier, you will need +to upgrade the assembler to version ``cctools-364''. To get cctools-364, check out @file{cctools} with tag @samp{Apple-364}, build it, and install the assembler as @file{usr/bin/as}. See @uref{http://www.opensource.apple.com/tools/cvs/docs.html} for details. -Also, the default stack limit of 512K is too small, and a bootstrap will -typically fail when self-compiling @file{expr.c}. Set the stack to 800K -or more, for instance by doing @samp{limit stack 800}. It's also -convenient to use the GNU preprocessor instead of Apple's during the -first stage of bootstrapping; this is automatic when doing @samp{make -bootstrap}, but to do it from the toplevel objdir you will need to say -@samp{make CC='cc -no-cpp-precomp' bootstrap}. - -Note that the version of GCC shipped by Apple typically includes a -number of extensions not available in a standard GCC release. These -extensions are generally specific to Mac programming. +The default stack limit of 512K is too small, which may cause compiles +to fail with 'Bus error'. Set the stack larger, for instance +by doing @samp{limit stack 800}. It's a good idea to use the GNU +preprocessor instead of Apple's @file{cpp-precomp} during the first stage of +bootstrapping; this is automatic when doing @samp{make bootstrap}, but +to do it from the toplevel objdir you will need to say @samp{make +CC='cc -no-cpp-precomp' bootstrap}. + +The version of GCC shipped by Apple typically includes a number of +extensions not available in a standard GCC release. These extensions +are generally specific to Mac programming. @html
-- 2.7.4