This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Solaris 8/SPARC bootstrap broken building 64-bit libgcc
On Tue, Jul 15, 2003 at 01:00:00AM +0200, Eric Botcazou wrote:
> > Because I got really, really sick of my scripts working everywhere except
> > Solaris, thanks to the weird non-standard command-line options and
> > semantic behavior of the traditional Solaris tools.
>
> Then install Linux ;-)
As cool as that would be, my employer, coworkers, and users would be very,
very surprised. As would all of our 64-bit applications.
> Yes, but I'm afraid that it might confuse the reader, given that you pointed
> out that /usr/bin/ksh is nothing else than /usr/xpg4/bin/sh.
That's an exception, not the rule.
> But I might be underestimating your skills as a technical writer, so maybe we
> can agree about a way of formulating it.
Thanks for your vote of confidence. :-) Here are two attempts.
Index: doc/install.texi
===================================================================
RCS file: /home/pme/Repositories/GCC/gcc/gcc/doc/install.texi,v
retrieving revision 1.214
diff -u -4 -r1.214 install.texi
--- doc/install.texi 11 Jul 2003 23:04:48 -0000 1.214
+++ doc/install.texi 14 Jul 2003 23:54:56 -0000
@@ -3115,8 +3115,11 @@
@file{/usr/ucb} to install GCC has been observed to cause trouble.
For example, the linker may hang indefinitely. The fix is to remove
@file{/usr/ucb} from your @env{PATH}.
+If you have the @code{SUNWxcu4} package installed, we recommend placing
+@file{/usr/bin} before @file{/usr/xpg4/bin} in your @env{PATH}.
+
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}).
Another possibility, which I think is more clear:
Index: doc/install.texi
===================================================================
RCS file: /home/pme/Repositories/GCC/gcc/gcc/doc/install.texi,v
retrieving revision 1.214
diff -u -4 -r1.214 install.texi
--- doc/install.texi 11 Jul 2003 23:04:48 -0000 1.214
+++ doc/install.texi 14 Jul 2003 23:59:10 -0000
@@ -3115,8 +3115,11 @@
@file{/usr/ucb} to install GCC has been observed to cause trouble.
For example, the linker may hang indefinitely. The fix is to remove
@file{/usr/ucb} from your @env{PATH}.
+If you have @file{/usr/xpg4/bin} in your @env{PATH}, we recommend placing
+@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}).