Page/reference |
Problem or error |
Cause |
Solution |
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
later
section, "DJGPP: a C compiler
for
MS-DOS", it is necessary to
copy
the DJGPP folder to C:\DJGPP (not c:\slp,
which
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. |
Add ;C\DJGPP\bin
to
the path variable
and
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
Windows
XP as above, attempting to run gcc yields
the
error message:'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). |
To
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. Bleep.exe results. |
|
p. 112, line 64 |
The ASCII
encoding of
the diphthong /aI/ in nfsa1.pl is wrong: accept([t,a,'I',m]). -> no accept([t,'&','I',m].
-> yes |
Line 64 of nfsa1.pl should read: transition(s4,a,s5). |
Either type the correction yourself, or download
a
revised version of nfsa1.pl
from here. |
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.