[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: lex & yacc with C++ projects

From: Robert Collins
Subject: RE: lex & yacc with C++ projects
Date: Fri, 26 Apr 2002 21:05:25 +1000

> -----Original Message-----
> From: Guido Draheim [mailto:address@hidden 
> Sent: Friday, April 26, 2002 8:57 PM
> To: Robert Collins; address@hidden
> Subject: Re: lex & yacc with C++ projects
> Es schrieb Robert Collins:
> > 
> > It would be nice to be able to tell automake that we want 
> to compile 
> > the out of lex and yaxx with g++, not gcc. (this is for C++ 
> projects).
> rename mysource.l -> mysource.ll
> rename mysource.y -> mysource.yy
> and that's it. Were the manual pages confusing about that?
> Or is there another problem that is not obvious to me...

Yes, the C++ output from the tools is incorrect for what we are doing.
(It depends on libstdc++). So all we want is the C output, and then
compile with C++.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]