delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/06/04/21:52:52

From: Thomas Demmer <demmer AT LSTM DOT Ruhr-UNI-Bochum DOT De>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Bison and RHIDE
Date: Wed, 04 Jun 1997 10:17:33 +0100
Organization: Lehrstuhl fuer Stroemungsmechanik
Lines: 44
Message-ID: <339532AD.41C6@LSTM.Ruhr-UNI-Bochum.De>
References: <5n0e7m$648 AT freenet-news DOT carleton DOT ca>
NNTP-Posting-Host: bvb.lstm.ruhr-uni-bochum.de
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019