delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1995/05/01/10:46:24

From: Soyka <mgs AT ssd DOT ray DOT com>
Date: Mon, 1 May 1995 09:28:03 -0400
To: djgpp AT sun DOT soe DOT clarkson DOT edu
Subject: re: djgpp.env

> > Wishing to make this a permanent selection, I added the line
> >    GO32=driver %DJGPP%/drivers/atipro.grd topline
> > to my djgpp.env file and cleared the variable from the environment.
> > Rerunning t05.bat, I saw the topline messages during the build but
> > once again the "Graphics initialization error ..." message appeared
> > when I t05 ran.  

> No wonder this doesn't work.  The parsing of DJGPP.ENV and stuffing
> of necessary variables into the environment passed to DJGPP programs is
> done by go32, and the GO32 variable is for go32 itself.  So go32 doesn't
> get variables which aren't in the environment when it starts up.

Thank you clarifying how the djgpp.env file is manipulated.  
For whatever reason, I felt that this file provided yet another
way of passing options/parameters to a program at run time,
analogous to the "@" command line feature.  

Thanks to all who responded.

Mike

- Raw text -


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