Adjust tm_file order to get TARGET_DEFAULT set properly.
(sparc-solaris): Configure 2.[78] for 64-bit multilibs.
* doc/install.texi (sparc-solaris): Update.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52373
138bc75d-0d04-0410-961f-
82ee72b054a4
+2002-04-16 Richard Henderson <rth@redhat.com>
+
+ * config.gcc (sparcv9-solaris): Configure for 64-bit default.
+ Adjust tm_file order to get TARGET_DEFAULT set properly.
+ (sparc-solaris): Configure 2.[78] for 64-bit multilibs.
+ * doc/install.texi (sparc-solaris): Update.
+
2002-04-16 Dale Johannesen <dalej@apple.com>
* config/rs6000/rs6000.c (rs6000_emit_cmove): Fail if modes of
2002-04-16 Aldy Hernandez <aldyh@redhat.com>
- * config/rs6000/altivec.h (vec_addc): Type check.
+ * config/rs6000/altivec.h (vec_addc): Type check.
2002-04-16 Jakub Jelinek <jakub@redhat.com>
thread_file='rtems'
fi
;;
-sparc64-*-solaris2*)
- tm_file="sparc/biarch64.h sparc/sol2-64.h ${tm_file} dbxelf.h elfos.h svr4.h sparc/sysv4.h sparc/sol2.h sparc/sol2-bi.h"
+sparc64-*-solaris2* | sparcv9-*-solaris2*)
+ tm_file="sparc/biarch64.h ${tm_file} dbxelf.h elfos.h svr4.h sparc/sysv4.h sparc/sol2.h sparc/sol2-64.h sparc/sol2-bi.h"
if test x$gnu_ld = xyes; then
tm_file="${tm_file} sparc/sol2-gld.h sparc/sol2-gld-bi.h"
fi
esac
thread_file='solaris'
;;
-sparc-*-solaris2* | sparcv9-*-solaris2*)
+sparc-*-solaris2*)
tm_file="${tm_file} dbxelf.h elfos.h svr4.h sparc/sysv4.h sparc/sol2.h"
if test x$gnu_ld = xyes; then
tm_file="${tm_file} sparc/sol2-gld.h"
tmake_file="$tmake_file t-slibgcc-sld"
fi
case $machine in
- sparcv9-*)
+ *-*-solaris2.[0-6] | *-*-solaris2.[0-6].*)
+ if test x$gnu_ld = xno; then
+ tm_file="${tm_file} sparc/sol26-sld.h"
+ fi
+ ;;
+ *-*-solaris2.[789])
tm_file="sparc/biarch64.h ${tm_file} sparc/sol2-bi.h"
if test x$gnu_ld = xyes; then
tm_file="${tm_file} sparc/sol2-gld-bi.h"
fi
tmake_file="$tmake_file sparc/t-sol2-64"
;;
- *-*-solaris2.[0-6] | *-*-solaris2.[0-6].*)
- if test x$gnu_ld = xno; then
- tm_file="${tm_file} sparc/sol26-sld.h"
- fi
esac
xm_defines=POSIX
extra_parts="crt1.o crti.o crtn.o gcrt1.o gmon.o crtbegin.o crtend.o"
that, unlike full 64-bit code, can still run on non-UltraSPARC
machines.
-The target tuple @code{sparc-sun-solaris} will be used for
-configurations in which only 32-bit SPARC binaries may be executed;
-@code{sparcv9-sun-solaris} will be used when either 32-bit or 64-bit
-binaries may be executed, but the compiler will produce 32-bit
-binaries unless the @option{-m64} switch is used; @code{sparc64-sun-solaris}
-should be used when the compiler should produce 64-bit binaries
-by default.
-
-Unless otherwise specified, @command{configure} will select either
-@code{sparc} or @code{sparcv9} based on the output of @command{isalist}.
-It will never select @code{sparc64} by default.
+When configuring on a Solaris 7 or 8 system that is running a kernel
+that supports only 32-bit binaries, one must configure with
+@option{--disable-multilib}, since we will not be able to build the
+64-bit target libraries.
@html
</p>