Date: Fri, 23 Jun 2000 16:18:39 +0200 (MET DST) From: pad2369 Message-Id: <200006231418.QAA12290@maggiore.iperbole.bologna.it> To: djgpp AT delorie DOT com, Blackjack References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 8bit User-Agent: IMP/PHP3 Imap webMail Program 2.0.11 Sender: pad2369 AT iperbole DOT bologna DOT it Subject: Re: compiling hello.c problem Reply-To: djgpp AT delorie DOT com Blackjack : > I downloaded DJGPP and installed it as per > instructions ( at least, I > think). Wrote the little Hello, world! program and > tried to compile it with > gcc. Got: bad command or file name. > > Can't figure out why. Isn't DJGPP supposed to run on > a win9x/DOS 7 > machine? Sure, and it does, if correctly configured! ;-) You forgot to set PATH environment variable or didn't set it correctly. You can see if PATH contains the right directory where gcc is by typing "set" in a dos box. You can also type "set > env.txt" and post here file env.txt, together with your autoexec.bat, so that we can have a look and see what's wrong... ciao Giacomo --------------------------------------------------- Giacomo Degli Esposti - pad2369 AT iperbole DOT bologna DOT it