Mail Archives: djgpp/1997/06/04/21:52:52
Paul Derbyshire wrote:
>
> Is there a way to get RHIDE to compile Bison files?
>
> The help says something about defining variables such as RHIDE_COMPILE.y.c
> and RHIDE_COMPILE.c.o, but, it doesn't indicate where to specify these (it
> says the DOS environment variables, but where else, I'd like to put them
> in an ini file or something if possible), and it doesn't say what exactly
> I should put in the variable. (Obviously the name of the executables for
> the compiler stages, bison and gcc, but what else and with what syntax?)
> It also doesn't say how to get it to syntax-highlight a .y file, nor how I
> can peek at the value of an existing variable, such as RHIDE_COMPILE.c.o
> or RHIDE_COMPILE.o.; it mentions these exist, but not how to display their
> values, in order that I could infer what to put in a RHIDE_COMPILE.y.c...
Edit your djgpp.env file and add the following lines:
[rhide]
RHIDE_COMPILE.y.c= bison $(SOURCE_NAME) // and options for naming the
output
// file, check the bison info...
I didn't try this myself, so fingers crossed...
But check the documentation, it is somewhere in there.
For the highliting: Go to Options|Environment|User Words and
add whatever you like.
--
Ciao
Tom
*************************************************************
* Thomas Demmer *
* Lehrstuhl fuer Stroemungsmechanik *
* Ruhr-Uni-Bochum *
* Universitaetsstr. 150 *
* D-44780 Bochum *
* Tel: +49 234 700 6434 *
* Fax: +49 234 709 4162 *
* http://www.lstm.ruhr-uni-bochum.de/~demmer *
*************************************************************
- Raw text -