[Top][All Lists]

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

Re: [Linphone-users] gnu/linux xv webcam selfview copile without java

From: Ghislain MARY
Subject: Re: [Linphone-users] gnu/linux xv webcam selfview copile without java
Date: Mon, 29 Sep 2014 16:51:35 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Icedove/31.0


The link you are pointing to is not a C antlr code generator but the C library needed for a C program to use the grammar generated by the java antlr code generator. This library is already used by belle-sip to interpret the generated grammar.


On 16/09/2014 16:07, Sylvain BERTRAND wrote:
On Tue, Sep 16, 2014 at 03:11:38PM +0200, BIENKOWSKI Guillaume wrote:
This is an option, yes: shipping the generated C files would remove the
dependency to the Antlr executable.
We might be able to place a git hook to do that, I'll discuss with the
other guys here to see if they are up to it.

On the other hand, you can't do the dependency trick with make easily,
since when you check out through git you basically have a pristine setup.
We would have to do something like md5 the .g files and only trigger Antlr
when the md5 has changed. I'm not aware of a simple way to do that.
There is also the possibily to use a C antlr code generator and
remove the java one from the SDK dependency tree:

reply via email to

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