[doc] Update Solaris 2 installation documentation

Ralf Wildenhues Ralf.Wildenhues@gmx.de
Thu Apr 1 19:38:00 GMT 2010


Hello Rainer,

* Rainer Orth wrote on Thu, Apr 01, 2010 at 02:10:55PM CEST:
> --- a/gcc/doc/install.texi	Wed Mar 31 19:35:54 2010 +0200
> +++ b/gcc/doc/install.texi	Thu Apr 01 14:00:41 2010 +0200

> @@ -3463,12 +3465,30 @@

> +To use GNU @command{as}, configure with the options
> +@option{--with-gnu-as --with-as=/usr/sfw/bin/gas}.  It may be necessary
> +to configure with @option{--without-gnu-ld --with-ld=/usr/ccs/bin/ld} to
> +guarantee use of Sun @command{ld}.
> +@c FIXME: why --without-gnu-ld --with-ld?

So that in a combined tree, ld or gold won't be enabled, I guess?
Toplevel configure has code to turn them off in that case.

> @@ -4101,28 +4128,21 @@

> +We recommend the use of the vendor tools (Sun @command{as}, Sun
> +@command{ld}), or eventually GNU @command{as}.  The GNU @command{as}
> +versions included in Solaris 10, from GNU binutils 2.15, and Solaris 11,
> +from GNU binutils 2.19, are known to work.  They can be found in
> +@file{/usr/sfw/bin/gas}.  Current versions of GNU binutils (2.20.1 as of
> +2010-04-01) are known work either.  Note that your mileage may vary

s/known/& to/  s/either/as well/  ?

>  if you use a combination of the GNU tools and the Sun tools: while the
>  combination GNU @command{as} + Sun @command{ld} should reasonably work,
>  the reverse combination Sun @command{as} + GNU @command{ld} is known to
>  cause memory corruption at runtime in some cases for C++ programs.

> +@c FIXME: still?
> +GNU @command{ld} usually works either, though the version included in

s/either/too/  ("either" is used only in conjunction with negation or
alternatives with "or", AFAIK)

> +Solaris 10 cannot be used due to several bugs.  Again, the current
> +version (2.20.1) is known to work, but generally lacks platform specific
> +features, so better stay with Sun @command{ld}.

Cheers,
Ralf



More information about the Gcc-patches mailing list