delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/01/29/04:18:28

From: Dave Pearson <davep AT hagbard DOT demon DOT co DOT uk>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: why won't my .exe program run properly until I set env var?
Date: Thu, 29 Jan 1998 08:29:00 GMT
Organization: Hagbard's World (A Private Internet Host)
Sender: usenet AT hagbard DOT demon DOT co DOT uk
Message-ID: <slrn6d0feb.lt6.davep@hagbard.demon.co.uk>
References: <spark-2901980201090001 AT p113-thalia DOT es DOT co DOT nz> <34CFCEC3 DOT 6C89 AT cs DOT com>
Reply-To: davep AT hagbard DOT demon DOT co DOT uk
Lines: 24
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

On Wed, 28 Jan 1998 19:35:15 -0500, John M. Aldrich <fighteer AT cs DOT com> wrote:

> > 1. Start up a DOS window from windows95
> > 2. Run the batch file (which has
> > set djgpp=c:\djgpp\djgpp.env
> > set path=c:\djgpp\bin;%path%)
> > 3. Start programming
> 
> This is silly.  If you plan to do a lot of programming in DJGPP, you
> should set the environment variables in your autoexec.bat so they always
> exist.  I can't think of any possible reason why this wouldn't work
> better.

While, on the whole, I'd agree with you (DJGPP is my DOS C compiler of
choice) there are times when you don't want to do it. For example, if you
have more than one GNU development environment (DJGPP, GCC-Win32,
GCC-Win32-prc, ...).

-- 
Take a look in Hagbard's World: |     w3ng - The WWW Norton Guide reader.
http://www.acemake.com/hagbard/ |  ng2html - The NG to HTML converter.
http://www.hagbard.demon.co.uk/ |       eg - Norton Guide reader for Linux.
Free software, including........|   dgscan - DGROUP scanner for Clipper.

- Raw text -


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