||Problem or error
|p. 43, exercise 2.5
||Problems with installing the DJGPP compiler:
1) readme.html section 3, "Installation", advises you to copy three folders to c:\slp. This is not sufficient to install the DJGPP compiler.
| As stated in the
section, "DJGPP: a C compiler
MS-DOS", it is necessary to
the DJGPP folder to C:\DJGPP (not c:\slp,
is harmless but useless), fix autoexec.bat,
and restart your machine.
An updated version of readme.html is available here.
|2) If you are running some versions of Windows XP, the compiler will still not work.||Changing autoexec.bat
doesn't work in some versions of XP.
the path variable
a new variable DJGPP
with the value DJGPP.ENV.
This is done via 'My Computer', but still results in a new error ...
|3) Having installed DGJPP under
XP as above, attempting to run gcc yields
'An Extended Memory Manager is already installed. XMS driver not installed.'
DJGPP release 2.03 was buggy under 2000/XP, and some bugs remain even with the refresh release (http://clio.rice.edu/djgpp/win2k/main_203.htm).
get DJGPP to behave under updated Windows XP:
Download the "refresh" version 2.03 of DJGPP.
Click on My Computer.
Find gcc.exe in the DJGPP\bin directory.
Right-click on it. This opens a new window.
Click on "Properties" to open it.
Click on "Memory" to open it.
Set XMS Memory to 8192.
Close all preceding windows.
Activate Command Prompt.
Change directory to c:\slp
Enter gcc -c coswave.c. A new file coswave.o results.
Enter gcc -o Bleep.exe coswave.o.
|p. 112, line 64
the diphthong /aI/ in nfsa1.pl is wrong:
accept([t,a,'I',m]). -> no
|Line 64 of nfsa1.pl should read:
|Either type the correction yourself, or download
revised version of nfsa1.pl
If the problem you are experiencing is not on the list above, there are some more steps you can try:
This page last edited on 6/1/04.