[antlr-interest] Re: Antlr cant make or configure w/ cygwin bash
danutsch
danutsch at yahoo.com
Sun Jan 18 09:35:39 PST 2004
--- In antlr-interest at yahoogroups.com, "danutsch" <danutsch at y...> wrote:
> --- In antlr-interest at yahoogroups.com, Ric Klaren <klaren at c...> wrote:
> > On Thu, Jan 15, 2004 at 12:26:00AM -0000, danutsch wrote:
> > > Ok, some problems with configure and make with Antlr 2.7.2 and the
> > > cygwin bash shell.
> >
> > Not surprised it was never really tested/written for cygwin.
> >
> > > "java.exe -cp $(cygpath -wp $(pwd)) antlr.jar antlr.tool".
> >
> > I tweaked the configure scripts a bit using this. Could you give
> this new
> > snapshot a spin :
> >
> > http://wwwhome.cs.utwente.nl/~klaren/antlr/antlr-20040115.tar.gz
> >
> > Note: this one is newer than 2.7.3 release candidate 1.
> >
> > > Also with 2.7.2, configure sets the codepath wrong with a colon
in it,
> > > so no go there either.
> >
> > Should be fixed now too.
> >
> > I btw enabled the same stuff for mingw not sure if it's working there.
> > Don't have mingw/cygwin installs lying about atm to test on.
>
>
> Ok configure works good if CLASSPATH is defined as it says. make
> doesn't work because the call to fix_path can't handle the outer $().
>
> $(call fix_path,$(TOPDIR)/antlr.jar)
>
> this evaluates to blank since it can't see the $(1)
Me again, the fix works great if instead of
fix_path=$(cygpath -wp "$(1)")
you put
fix_path=`cygpath -wp "$(1)"`
Thanks alot
Yahoo! Groups Links
To visit your group on the web, go to:
http://groups.yahoo.com/group/antlr-interest/
To unsubscribe from this group, send an email to:
antlr-interest-unsubscribe at yahoogroups.com
Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
More information about the antlr-interest
mailing list