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?


I did it using SUNWspro compiler on solaris2.7(shouldn't be much
difference) and uncommenting config.gcc lines already mentioned here.
The compiler used sun's as and ld, was able to rebuild itself,
I didn't try compare stages though.
I also tried with gnu-as/ld and it baciscly worked.
The target was sparc-sun-solaris2.7.  I do recommend this way
because you get compiler able to generate both 32 and 64 bit codes
with 32 bit default. I did it was only for c.
I used it for some time till I switched my primary platform.
The problem so far is that there is not enough support from gdb
(or at least I don't know how to set it up) so debugging
is problematic, espesially that dbx also doesn't understand
gcc's stabs. Besides that the impression is good and
it passed almost entire testsuite (a little more that 100 failed
tests from 14000+).

Regards,
	Andrey

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.
> 
> Brad Lucier


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