As described in the PR, configuring for e.g. sparc-sun-solaris2 fails to
build in the gcc directory.  While this could be made to work, it
doesn't really make sense: in a native build, you don't have to specify
the configure triplet you're building for, and in a cross you must,
given the differences between different versions of Solaris.

Thus I'm simply rejecting such a target.  The following patch was tested
by configuring with --target i386-pc-solaris2 and observing the
configuration being rejected.

Installed on mainline.

        Rainer


2011-07-22  Rainer Orth  <r...@cebitec.uni-bielefeld.de>

        PR target/47124
        * config.gcc: Reject *-*-solaris2 configuration.

diff --git a/gcc/config.gcc b/gcc/config.gcc
--- a/gcc/config.gcc
+++ b/gcc/config.gcc
@@ -280,6 +280,7 @@ case ${target} in
  | *-*-linux*oldld*                    \
  | *-*-rtemsaout*                      \
  | *-*-rtemscoff*                      \
+ | *-*-solaris2                                \
  | *-*-solaris2.[0-7]                  \
  | *-*-solaris2.[0-7].*                        \
  | *-*-sysv*           \

-- 
-----------------------------------------------------------------------------
Rainer Orth, Center for Biotechnology, Bielefeld University

Reply via email to