From: "Weiqi Gao" Newsgroups: comp.os.msdos.djgpp Subject: Re: Need help with djgpp v.2 environment variables Date: 7 Nov 1996 12:45:24 GMT Organization: CRL Dialup Internet Access Lines: 32 Message-ID: <01bbcca9$b1d3aec0$010200c0@weiqigao> References: <55jo47$i8a AT usenet DOT srv DOT cis DOT pitt DOT edu> <327EB28D DOT 427D AT cs DOT com> NNTP-Posting-Host: crl7.crl.com To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp John M. Aldrich wrote in article <327EB28D DOT 427D AT cs DOT com>... > > To set up the djgpp enviroment requires two things. (well, three > really...) > > 1) In your AUTOEXEC.BAT, put the djgpp bin directory in your PATH, > _before_ the bin directories of any other compilers you have installed. > (i.e.: C:\DJGPP\BIN) > > 2) Also in your AUTOEXEC.BAT, set the DJGPP environment variable to > point to the location of 'djgpp.env', i.e.: > SET DJGPP=C:\DJGPP\DJGPP.ENV Or, just do a ====install djgpp.bat==== PKUNZIP -d -o ftp://ftp.sintel.com/pub/simtelnet/gnu/djgpp/v2*/*.zip C:\USR echo PATH %%PATH%%;C:\USR\BIN >> C:\USR\BIN\DJGPPVAR.BAT echo DJGPP=C:\USR\DJGPP.ENV >> C:\USR\BIN\DJGPPVAR.BAT echo IF EXIST C:\USR\BIN\DJGPPVAR.BAT CALL C:\USR\BIN\DJGPPVAR.BAT >> C:\AUTOEXEC.BAT CALL C:\USR\BIN\DJGPPVAR.BAT ====install djgpp.bat==== If you don't have an Internet ready PKUNZIP (nobody does), you need to download the files first. Get all the files down and be done with the ftp site. -- Weiqi Gao weiqigao AT crl DOT com