This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: 64bit code generation for 3.1 on solaris?


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]