From: jody@algorithmics.com (Jody Goldberg)
Subject: Re: gcc, g++, libg++ on Alpha
Date: Tue, 23 Nov 1993 14:47:39 GMT [thread overview]
Message-ID: <CGy93G.3yn@algorithmics.com> (raw)
In-Reply-To: BRUHN.93Nov22114820@aie.wu-wien.ac.at
bruhn@wu-wien.ac.at (Peter Bruhn) writes:
>I was successful to compile gcc-2.5.2 on my DEC 3000/400. I did not
>try later versions. But I did NOT succeed in compiling libg++. Any
>experience on this? Has somebody successfully compiled libg++? Does it
>work on a DEC-Alpha?
There are a couple of known problems with g++ on the alpha. the most notable
of which is that calling virtual functions in multiply inherited classes
is broken. As a result the compiling of libg++ has been disabled. Editing the
config.in file should allow you to re-enable compiling on the alpha. Editing,
cp-call.c around line 420
/* FIXME: This is what breaks vtables on the alpha. */
*ptr_to_instptr = build (PLUS_EXPR, TREE_TYPE (*ptr_to_instptr),
*ptr_to_instptr,
convert (integer_type_node, build_component_ref .......
^^^^^^^^^^^^^^^^^
so that the integer_type_node becomes ptr_type_node should solve the above
problem with g++.
It would recomend using 2.5.4 as it includes another Alpha specific patch.
There are still a couple of know problems, but as long as you don't try to
optimize and don't use alot of sign extension things should be serviceable.
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| It takes a lot of hard work to made something
jody@algorithmics.com | easy. Then when you're done, people look at it and
prev parent reply other threads:[~1993-11-23 14:47 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
1993-11-22 10:48 gcc, g++, libg++ on Alpha Peter Bruhn
1993-11-22 16:57 ` Burkhard Neidecker-Lutz
1993-11-23 14:47 ` Jody Goldberg [this message]
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox