[Top][All Lists]

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

Re: Problem with EXTRA_*_SOURCES

From: Akim Demaille
Subject: Re: Problem with EXTRA_*_SOURCES
Date: 04 Apr 2001 16:49:27 +0200
User-agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.1 (Cuyahoga Valley)

>>>>> "Lars" == Lars J Aas <address@hidden> writes:

Esben> Did you notice the LEX hack ?  Am I right about automake
Esben> currently lacking support for multiple lexers in one binary? 
Esben> (although the docs clearly states that it is supported)

Lars> I haven't tried the lex support in Automake, so I'll have to
Lars> pass on this one.

OK, my turn :)

I think you misunderstood what the doc says about multiple lex files.
It claims it supports the compilation of multiple lex sources in the
sense that it makes sure parallel builds work properly, _period_.

It does not claim it will guarantee there are no conflicts on the
symbols such as yylex.  And actually, how could it?  Would you like it
to impose a new name for yylex?  That's not realistic.

You have two options: requiring Flex (i.e., improve and
use -P as you did either using flex's %options, or using some tricks
to pass file dependent flags to flex (I don't think Automake supports
this); and the second option is to do what the doc suggest.  Hence my
suggestion is: read it again.

reply via email to

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