aboutsummaryrefslogtreecommitdiff
path: root/gcc/doc
diff options
context:
space:
mode:
authorAndrew Cagney <ac131313@redhat.com>2001-08-01 19:25:18 +0000
committerAndrew Cagney <cagney@gcc.gnu.org>2001-08-01 19:25:18 +0000
commitedf1b3f3179564a0db848df3691e1b805d87ebd2 (patch)
treec68b354c893c42ae0677cea5323bc79727e4e2b6 /gcc/doc
parentbda33a6e0fda1d512e237c306c60d9978e596e24 (diff)
downloadgcc-edf1b3f3179564a0db848df3691e1b805d87ebd2.zip
gcc-edf1b3f3179564a0db848df3691e1b805d87ebd2.tar.gz
gcc-edf1b3f3179564a0db848df3691e1b805d87ebd2.tar.bz2
config.gcc: Recognize powerpc-*-netbsd*.
* config.gcc: Recognize powerpc-*-netbsd*. * doc/install.texi (Host/target specific installation notes for GCC): Mention powerpc-*-netbsd*. * config/rs6000/netbsd.h: New file. (STANDARD_STARTFILE_PREFIX, LINK_SHLIB_SPEC): Redefine. (LIB_DEFAULT_SPEC, STARTFILE_DEFAULT_SPEC): Redefine. (ENDFILE_DEFAULT_SPEC, LINK_START_DEFAULT_SPEC): Redefine. (LINK_OS_DEFAULT_SPEC, CPP_OS_DEFAULT_SPEC): Redefine. (TARGET_VERSION): Redefine. * config/rs6000/t-ppccomm (MULTILIB_MATCHES_SYSV): Recognize mcall-netbsd as a match for mcall-sysv. (EXTRA_MULTILIB_PARTS): Add ncrti$(objext) and ncrtn$(objext). (ncrti.S, ncrtn.S): New targets. ($(T)ncrti$(objext), $(T)ncrtn$(objext)): New targets. * config/rs6000/sysv4.h (SUBTARGET_OVERRIDE_OPTIONS): Recognize "netbsd' as a V4 ABI. (ASM_SPEC): Check for -mcall-netbsd. (CC1_SPEC, CC1_SPEC, LINK_START_SPEC, LINK_OS_SPEC): Ditto. (CPP_ENDIAN_SPEC, CPP_SPEC, STARTFILE_SPEC): Ditto. (LIB_SPEC, ENDFILE_SPEC): Ditto. (LIB_NETBSD_SPEC, STARTFILE_NETBSD_SPEC): Define. (ENDFILE_NETBSD_SPEC, LINK_START_NETBSD_SPEC): Define. (LINK_OS_NETBSD_SPEC, CPP_OS_NETBSD_SPEC): Define. (SUBTARGET_EXTRA_SPECS): Add NetBSD specs. * doc/invoke.texi (Option Summary): Add -mcall-netbsd. (RS/6000 and PowerPC Options): Mention -mcall-netbsd. From-SVN: r44552
Diffstat (limited to 'gcc/doc')
-rw-r--r--gcc/doc/install.texi16
-rw-r--r--gcc/doc/invoke.texi7
2 files changed, 22 insertions, 1 deletions
diff --git a/gcc/doc/install.texi b/gcc/doc/install.texi
index 1e61127..892ae0f 100644
--- a/gcc/doc/install.texi
+++ b/gcc/doc/install.texi
@@ -1359,6 +1359,8 @@ GNU Compiler Collection on your machine.
@item
@uref{#powerpc-*-linux-gnu*,,powerpc-*-linux-gnu*}
@item
+@uref{#powerpc-*-netbsd*,,powerpc-*-netbsd*}
+@item
@uref{#powerpc-*-eabiaix,,powerpc-*-eabiaix}
@item
@uref{#powerpc-*-eabisim,,powerpc-*-eabisim}
@@ -2869,6 +2871,15 @@ if you initially built it with gcc-2.7.2.x.
</p>
<hr>
@end html
+@heading @anchor{powerpc-*-netbsd*}powerpc-*-netbsd*
+PowerPC system in big endian mode running NetBSD@. To build the
+documentation you will need Texinfo version 4.0 (NetBSD 1.5.1 included
+Texinfo version 3.12).
+
+@html
+</p>
+<hr>
+@end html
@heading @anchor{powerpc-*-eabiaix}powerpc-*-eabiaix
Embedded PowerPC system in big endian mode with @option{-mcall-aix} selected as
the default.
@@ -2972,6 +2983,11 @@ the @command{pkginfo} command. To add an optional package, use the
@command{pkgadd} command. For further details, see the Solaris
documentation.
+For Solaris 2.0 and 2.1, GCC needs six packages: @samp{SUNWarc},
+@samp{SUNWbtool}, @samp{SUNWesu}, @samp{SUNWhea}, @samp{SUNWlibm}, and
+@samp{SUNWtoo}.
+
+=======
On some versions of Solaris, trying to use the linker and other tools in
@file{/usr/ucb} to install GCC has been observed to cause trouble.
For example, the linker may hang indefinitely. The fix is to remove
diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi
index 4ac1834..d51e201 100644
--- a/gcc/doc/invoke.texi
+++ b/gcc/doc/invoke.texi
@@ -435,7 +435,7 @@ in the following sections.
-mstrict-align -mno-strict-align -mrelocatable @gol
-mno-relocatable -mrelocatable-lib -mno-relocatable-lib @gol
-mtoc -mno-toc -mlittle -mlittle-endian -mbig -mbig-endian @gol
--mcall-aix -mcall-sysv -mprototype -mno-prototype @gol
+-mcall-aix -mcall-sysv -mcall-netbsd -mprototype -mno-prototype @gol
-msim -mmvme -mads -myellowknife -memb -msdata @gol
-msdata=@var{opt} -mvxworks -G @var{num}}
@@ -6853,6 +6853,11 @@ operating system.
On System V.4 and embedded PowerPC systems compile code for the
Linux-based GNU system.
+@item -mcall-netbsd
+@opindex mcall-netbsd
+On System V.4 and embedded PowerPC systems compile code for the
+NetBSD operating system.
+
@item -mprototype
@itemx -mno-prototype
@opindex mprototype