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]
Other format: [Raw text]

Re: Treelang on GCC 3.2


On 02-Oct-2002, khalid aggag <khalidaggag@hotmail.com> wrote:
> I am currently developing an educational GCC frontend for a language based 
> on Treelang as a "cook-book". I have tried to compile an old vesion of 
> treelang with the latest GCC 3.2 but it failed with an error about 
> "sgtype", non existent rule. I downloaded the latest treelang version from 
> the CVS (the treelang only) and tried to compile it with the 3.2 GCC 
> version but still got the same error.

The GCC front-end interface changes quite frequently.
You need to use a version of treelang that matches the version of GCC
that you are using.

> However when i downloaded the whole CVS GCC source tree, it did compile.

Great.

> The problem is that I want to base my 
> frontend on a standard release of GCC and not on the experimental version 
> on CVS.

No standard release of GCC includes Treelang yet.  So you'd need to
wait for GCC 3.3.

Alternatively, you could try using one of the versions of Treelang
which was posted to the gcc-patches mailing list before Treelang
was committed to the GCC CVS repository.  One or more of those versions
may work with GCC 3.1 and 3.2.

But I'd advise just waiting for GCC 3.3.  It's scheduled for release
before the end of the year.

-- 
Fergus Henderson <fjh@cs.mu.oz.au>  |  "I have always known that the pursuit
The University of Melbourne         |  of excellence is a lethal habit"
WWW: <http://www.cs.mu.oz.au/~fjh>  |     -- the last words of T. S. Garp.


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