| January 2003 Laboratory Notes: Computer Engineering II | ||
|---|---|---|
| Prev | Chapter 15 DJGPP Development Environment | Next |
Normally setting up DJGPP requires the downloading of numerous (20+) ZIP files and some minor configuration. However, a fully installed and configured version of DJGPP is available on the lab machines. It should already be set up and ready to use for this tutorial.
If you want to develop at home, everything you need is in http://courses.ece.uiuc.edu/ece291/resources/djgpp.zip. There are some environment variables that need to be set properly in order for the tools to work correctly:
SET PATH=C:\djgpp\bin;%PATH
SET TMP=C:\temp
SET TEMP=C:\temp
SET DJGPP=C:\djgpp\djgpp.env
A batch file, djgpp.bat, is included in djgpp.zip that sets these environment variables. It is necessary to edit this file (to change the directory locations if necessary) and run it in every DOS box you intend to use the DJGPP tools in. If this gets tiring, you might try setting these variables in the Environment Settings dialog box, accessed from the System Control Panel, Advanced tab (in Windows 2000).