delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/02/06/18:15:26

From: Richard Dawe <rich AT tudor21 DOT net>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: DJGPP Setup Utility in the making.
Date: Sun, 06 Feb 2000 22:01:28 +0000
Organization: Customer of Planet Online
Lines: 31
Message-ID: <389DEF38.F9D7606@tudor21.net>
References: <87jegs02e44 AT enews2 DOT newsguy DOT com> <87kpuu$hu9$2 AT news01 DOT btx DOT dtag DOT de>
NNTP-Posting-Host: modem-146.lithium.dialup.pol.co.uk
Mime-Version: 1.0
X-Trace: news7.svr.pol.co.uk 949875332 9780 62.136.2.146 (6 Feb 2000 22:15:32 GMT)
NNTP-Posting-Date: 6 Feb 2000 22:15:32 GMT
X-Complaints-To: abuse AT theplanet DOT net
X-Mailer: Mozilla 4.51 [en] (X11; I; Linux 2.2.14 i586)
X-Accept-Language: de,fr
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Hello.

Hannes Birnbacher wrote:
> I did not understand the need for reboot in the first place .Why
> not run autoexec.bat after the addition of the necessary path and
> environment variable. It worked perfectly with my system.

Surely that depends entirely on what autoexec.bat does! What if you have a
line to run a program that you only want to run at start-up? I don't think
that this is an assumption you can make safely. What you could do is
create a batch-file to set up the environment for DJGPP and then add a
line to autoexec.bat to call this batch file, e.g.

call c:\djgpp\djgpp.bat

and then in djgpp.bat:

SET PATH=%PATH%;c:\djgpp
SET DJGPP=c:\djgpp\djgpp.env

change paths as appropriate.

IIRC the Cygnus tools do this too (cygwin32) and create a shortcut in the
Start Menu to open a Command Prompt (DOS box) with the environment set up
appropriately.

Bye,

-- 
Richard Dawe
richdawe AT bigfoot DOT com ICQ 47595498 http://www.bigfoot.com/~richdawe/

- Raw text -


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