diff options
author | Eric Botcazou <ebotcazou@libertysurf.fr> | 2003-07-17 08:12:43 +0200 |
---|---|---|
committer | Eric Botcazou <ebotcazou@gcc.gnu.org> | 2003-07-17 06:12:43 +0000 |
commit | bc8909611628fe97e174644ae9d1c076ef5405fe (patch) | |
tree | cd9c716e44ff0a0307c700ca4413ba8a7eec9290 /gcc | |
parent | f2ac99642834f8011896f93abbd2ba13ada35663 (diff) | |
download | gcc-bc8909611628fe97e174644ae9d1c076ef5405fe.zip gcc-bc8909611628fe97e174644ae9d1c076ef5405fe.tar.gz gcc-bc8909611628fe97e174644ae9d1c076ef5405fe.tar.bz2 |
install.texi (*-*-solaris2*): Document the step-by-step procedure to bootstrap and install.
* doc/install.texi (*-*-solaris2*): Document the step-by-step
procedure to bootstrap and install.
Document the preference for the legacy Sun tools in /usr/bin
over the POSIX tools in /usr/xpg4/bin for the build process.
Co-Authored-By: Phil Edwards <phil@jaj.com>
From-SVN: r69495
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 8 | ||||
-rw-r--r-- | gcc/doc/install.texi | 20 |
2 files changed, 26 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index cbc6bc0..7fcfdfc 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,11 @@ +2003-07-17 Eric Botcazou <ebotcazou@libertysurf.fr> + Phil Edwards <phil@jaj.com> + + * doc/install.texi (*-*-solaris2*): Document the step-by-step + procedure to bootstrap and install. + Document the preference for the legacy Sun tools in /usr/bin + over the POSIX tools in /usr/xpg4/bin for the build process. + 2003-07-17 Neil Booth <neil@daikokuya.co.uk> * c.opt: Document Uncodumented; use it. Document ObjC options. diff --git a/gcc/doc/install.texi b/gcc/doc/install.texi index 3cad57d..5daa135 100644 --- a/gcc/doc/install.texi +++ b/gcc/doc/install.texi @@ -3104,8 +3104,20 @@ GCC you first have to install a pre-built compiler, see our The Solaris 2 @command{/bin/sh} will often fail to configure @file{libstdc++-v3}, @file{boehm-gc} or @file{libjava}. We therefore -recommend to set @env{CONFIG_SHELL} to @command{/bin/ksh} in your -environment. +recommend to use the following sequence of commands to bootstrap and +install GCC: + +@smallexample + % CONFIG_SHELL=/bin/ksh + % export CONFIG_SHELL + % @var{srcdir}/configure [@var{options}] [@var{target}] + % gmake bootstrap + % gmake install +@end smallexample + +As explained in the @uref{build.html,,build} instructions, we recommend +to use GNU make, which we call @command{gmake} here to distinguish it +from Sun make. Solaris 2 comes with a number of optional OS packages. Some of these are needed to use GCC fully, namely @code{SUNWarc}, @@ -3124,6 +3136,10 @@ Trying to use the linker and other tools in For example, the linker may hang indefinitely. The fix is to remove @file{/usr/ucb} from your @env{PATH}. +The build process works more smoothly with the legacy Sun tools so, if you +have @file{/usr/xpg4/bin} in your @env{PATH}, we recommend that you place +@file{/usr/bin} before @file{/usr/xpg4/bin} for the duration of the build. + All releases of GNU binutils prior to 2.11.2 have known bugs on this platform. We recommend the use of GNU binutils 2.11.2 or the vendor tools (Sun @command{as}, Sun @command{ld}). |