[antlr-interest] crash burn on C runtime

Jim Idle jimi at temporal-wave.com
Thu Dec 15 20:23:17 PST 2011


Well, if you don't configure it, how are you going to build it?

Jim

-----Original Message-----
From: antlr-interest-bounces at antlr.org
[mailto:antlr-interest-bounces at antlr.org] On Behalf Of Nathan Carter
Sent: Thursday, December 15, 2011 9:43 AM
To: antlr-interest at antlr.org
Subject: Re: [antlr-interest] crash burn on C runtime

I'm replying to a thread from awhile back, which I found on Nabble.  Hope
this is the right way to do it...just joined the list...pardon me if I
have the customs wrong here.

The error "antlr3config.h: No such file or directory" was the OP's
problem, and mine.  Jim Idle responded that the problem was that we just
tried to bring in the include/ and src/ folders from the source folders,
and did not actually install the runtime distribution.  He then pointed
the OP to the docs.

Unfortunately, doing it that way runs counter to my eventual goals.  I'm
trying to write code that will be incorporated into a larger project, and
so configuring and installing antlr on my particular machine does not
solve my problem.  Furthermore, my code is to be cross-platform, so I
don't even want to assume antlr installations/libraries exist in
particular Unix-friendly locations.

There must (?) be a way with a simple Makefile to get a C program that
includes antlr-generated sources to build and run.  (Perhaps I just need
to create a plain vanilla antlr3config.h by hand?)

Thank you for any help you can provide.

Nathan


--
View this message in context:
http://antlr.1301665.n2.nabble.com/crash-burn-on-C-runtime-tp6887195p70958
41.html
Sent from the ANTLR mailing list archive at Nabble.com.

List: http://www.antlr.org/mailman/listinfo/antlr-interest
Unsubscribe:
http://www.antlr.org/mailman/options/antlr-interest/your-email-address


More information about the antlr-interest mailing list