delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/07/24/17:59:01

From: Hans-Bernhard Broeker <broeker AT physik DOT rwth-aachen DOT de>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Problem compiling with DJGPP
Date: 24 Jul 2001 19:17:09 GMT
Organization: Aachen University of Technology (RWTH)
Lines: 35
Message-ID: <9jkhjl$ifo$1@nets3.rz.RWTH-Aachen.DE>
References: <20010724164501 DOT 62198 DOT qmail AT web20007 DOT mail DOT yahoo DOT com>
NNTP-Posting-Host: acp3bf.physik.rwth-aachen.de
X-Trace: nets3.rz.RWTH-Aachen.DE 996002229 18936 137.226.32.75 (24 Jul 2001 19:17:09 GMT)
X-Complaints-To: abuse AT rwth-aachen DOT de
NNTP-Posting-Date: 24 Jul 2001 19:17:09 GMT
Originator: broeker@
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019