This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: solaris 32/64 configury
- From: Gerald Pfeifer <pfeifer at dbai dot tuwien dot ac dot at>
- To: Richard Henderson <rth at redhat dot com>
- Cc: Rainer Orth <ro at TechFak dot Uni-Bielefeld dot DE>, <gcc-patches at gcc dot gnu dot org>, Tom Tromey <tromey at redhat dot com>
- Date: Thu, 18 Apr 2002 13:52:14 +0200 (CEST)
- Subject: Re: solaris 32/64 configury
On Tue, 16 Apr 2002, Richard Henderson wrote:
> I've just committed the following, which I hope solves all the
> outstanding problems with this issue.
>
> (1) sparcv9 generates 64-bit code by default again.
> (2) sparc-solaris2.7 generates 64-bit multilib again.
> (3) documentation updated to mention --disable-multilib requirement
> if the kernel doesn't support 64-bit code.
> [...]
>
> * 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.
The problem with this change (and the reversion of your original change)
is that this leaves
.../configure ; make bootstrap
broken for those (many) hosts not running a 64-bit kernel (which was the
problem in target/6237).
And personally I believe that a simple '.../configure ; make bootstrap'
should nearly always work, even if that means some more advanced features/
situations need special treatment by the user, so I disagree with Rainer
here.
Gerald
--
Gerald "Jerry" pfeifer@dbai.tuwien.ac.at http://www.dbai.tuwien.ac.at/~pfeifer/