X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-bounces using -f From: "JOHN MCVEY" Newsgroups: comp.os.msdos.djgpp Subject: installing DJGPP Date: Sun, 6 Jan 2002 13:11:13 +1000 Organization: Customer of Connect.com.au Pty. Ltd. Lines: 99 Message-ID: NNTP-Posting-Host: acc13-ppp103.bri.dialup.connect.net.au X-Trace: gnamma.connect.com.au 1010286703 14941 210.10.199.103 (6 Jan 2002 03:11:43 GMT) X-Complaints-To: abuse AT connect DOT com DOT au NNTP-Posting-Date: 6 Jan 2002 03:11:43 GMT X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com I am using win2000 pro and dont fully understand the install instructions. Below are the instructions from the 'readme 1st.' document. Can some-one explain part 3. better. Thanks in advance. ps. I have unziped the contents as advised. Installation ------------ 1. Create a directory for DJGPP, say C:\DJGPP. (WARNING: do NOT install DJGPP in a directory C:\DEV, D:\DEV, etc., or in any of their subdirectories: it will not work! See the FAQ for more details.) If you have version 1.x installed, it's best to delete the contents of its `bin/' subdirectory or move it to another directory (not on your PATH), and delete everything else from that installation. (Some of the problems reported by users of DJGPP v2 were caused by inadvertently mixing it with old v1.x programs.) The only program from v1.x that you should keep is `go32.exe'. 2. Unzip all the zip files from that directory, preserving the directory structure. For example: pkunzip -d djdev203 or unzip32 djdev203 On Windows 9X, use an unzip program which supports long file names. Latest versions of InfoZip's UnZip and PKUnZip, as well as WinZip, all support long file names. unzip32.exe, available from the DJGPP sites, also supports long file names. One way to make sure you have preserved long file names is to look for a file include/sys/sysmacros.h: if you see only sysmacro.h instead, your unzip program does NOT support long filenames, and you need to find another one. 3. After unzipping all the zip files, set the DJGPP environment variable to point to the file DJGPP.ENV in the main DJGPP installation directory and add its BIN subdirectory to your PATH. The exact way how these variables should be set depends on your operating system: * For Windows 98 systems: - Click START; - Choose Programs->Accessories->System Tools->System Information; - Click Tools in the menu-bar, then choose "System Configuration"; - Use the tab provided there for editing your AUTOEXEC.BAT as explained below. * For Windows NT systems: - Right-click "My Computer", then select "Properties"; - Click the "Environment" tab; - Edit the PATH system variable to add the DJGPP bin subdirectory; - Add a new variable DJGPP and set its value to the full path name of the DJGPP.ENV file as explained below. * For all other systems (DOS, Windows 3.X and Windows 95): use any text editor, e.g. the standard EDIT, to edit the file AUTOEXEC.BAT in the root directory of the boot drive (usually, C:). No matter which method you use, assuming your DJGPP installation is rooted at C:\DJGPP, the values of the two environment variables DJGPP and PATH should be set like this: set DJGPP=C:\DJGPP\DJGPP.ENV set PATH=C:\DJGPP\BIN;%PATH% 4. Reboot. This makes sure the two lines you added to autoexec.bat will take effect. (On Windows NT and Windows 2000, the changes take effect immediately, so you don't need to reboot there, but you do have to close and reopen the DOS box windows.) 5. Run the go32-v2.exe program without arguments: go32-v2 It should report how much DPMI memory and swap space can DJGPP use on your system, like this: DPMI memory available: 8020 Kb DPMI swap space available: 39413 Kb The actual numbers will vary according to amount of RAM installed on your system, the available disk space and the DPMI server. If the sum of the two numbers reported by go32-v2 is less than 4MB, read section 3.9 of the FAQ, "How to configure your system for DJGPP". (If you have more than that, but want to get the optimal performance from your system, read that section anyway.)