delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/06/13/02:02:24

From: "Johan Venter" <jventer AT writeme DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: djgpp.env parser
Lines: 31
X-Newsreader: Microsoft Outlook Express 4.72.3110.1
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3
Message-ID: <fUG83.9469$PN5.25345@newsfeeds.bigpond.com>
Date: Sun, 13 Jun 1999 14:55:19 +1000
NNTP-Posting-Host: 203.40.82.151
X-Trace: newsfeeds.bigpond.com 929249931 203.40.82.151 (Sun, 13 Jun 1999 14:58:51 EST)
NNTP-Posting-Date: Sun, 13 Jun 1999 14:58:51 EST
Organization: Telstra BigPond Internet Services (http://www.bigpond.com)
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

I'm looking for the source file that contains the djgpp.env parser (ie the code that opens
the djgpp.env file and adds all the variables to the environment, while parsing the
modifiers, like /, :, \, > etc...)

Also, can someone explain to me how the sections work? What I mean is how are the sections
like [gcc] and [cpp] parsed? Are they done only at the time that those programs are run?

The reasons I need to know these things, is because I want to write a better gccw32.exe
for RSXNTDJ 1.5. I was thinking about adding a rsxntdj.env file with the same syntax as
the djgpp counterpart, to symplify the RSXNTDJ installation a bit more (I still think
people are fumbling with the include directory and library directory setups).

My way, when done, will require the user only to set one environment variable in their
autoexec.bat:

SET RSXNTDJ = C:\RSXNTDJ\rsxntdj.env

That's it, everything else will be done in that file, and all will be well in directory
land :-)

Thanks,

--
Johan Venter
ICQ 3643877
Visit The TPU DJGPP Interest Group:
http://surf.to/djgppig




- Raw text -


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