This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: 64bit code generation for 3.1 on solaris?
- To: Brad Lucier <lucier at math dot purdue dot edu>
- Subject: Re: 64bit code generation for 3.1 on solaris?
- From: Jakub Jelinek <jakub at redhat dot com>
- Date: Wed, 11 Apr 2001 01:09:39 +0200
- Cc: gcc at gcc dot gnu dot org
- References: <200104101907.OAA31089@zakon.math.purdue.edu>
- Reply-To: Jakub Jelinek <jakub at redhat dot com>
On Tue, Apr 10, 2001 at 02:07:02PM -0500, Brad Lucier wrote:
> With the help of Alexandre Oliva, I've recently tried several methods
> to get gcc 3.1 to generate 64 bit code on my Ultra II running Solaris 2.8.
> All failed (see some discussion on gcc-bugs for this month), in the sense
> that I have found no way to bootstrap gcc with all front ends (or even with
> just C) through any process whatsoever, including first building
> a 64bit 3.1 compiler with the gcc-2.95.2 and using that to build the
> stage1 compiler, etc..
>
> So I'm interested to know if anyone has been able to bootstrap a version
> of 3.1 that generates 64bit code on solaris2.8.
What you could do:
revert Kaveh's http://gcc.gnu.org/ml/gcc-patches/2000-10/msg00017.html
echo '#!/bin/sh' > ~/cc.sh
echo 'cc -DHOST_BITS_PER_WIDE_INT=64 -DHOST_WIDE_INT=long\ long "$@"' >> ~/cc.sh
chmod 755 gcc.sh
CC=~/cc.sh configure sparc-sun-solaris2.8
make bootstrap
Jakub