Mail Archives: djgpp/2001/07/24/17:59:01
latanya gardiner <latanyarg AT yahoo DOT com> wrote:
> I have installed the DJGPP compile that came with the SAMS Teach
> Yourself C in 21 Days, Complete Compiler Edition. I am on a Win NT
> Workstation. I have read all of the FAQs and I can't get it to
> work.
I wonder how you could have read all the FAQs and still not found the
README.1st, and followed its instructions...
What you have here is an installation error.
> C:\>gcc -o hello.exe hello.c
> The name specified is not recognized as an
> internal or external command, operable program or
> batch file.
This means that the directory with gcc.exe in it is not in your %PATH%
environment variable, for some reason. And the environ.lst agrees with
that:
> PATH=C:\WINNT\system32;C:\WINNT
Try the following, in a command prompt window:
set PATH=C:\DJGPP\BIN;%PATH%
gcc -v
this should run gcc and display its version. For instruction how to
make this change to %PATH% active permanently (or at least whenever
you click on a certain icon on your desktop to start a "DJGPP
session"), see README.1st.
--
Hans-Bernhard Broeker (broeker AT physik DOT rwth-aachen DOT de)
Even if all the snow were burnt, ashes would remain.
- Raw text -