delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/06/23/10:19:26

Date: Fri, 23 Jun 2000 16:18:39 +0200 (MET DST)
From: pad2369 <pad2369 AT iperbole DOT bologna DOT it>
Message-Id: <200006231418.QAA12290@maggiore.iperbole.bologna.it>
To: djgpp AT delorie DOT com, Blackjack <pierre AT hardy DOT com>
References: <F6I45.29119$FC6 DOT 715941 AT newsread1 DOT prod DOT itd DOT earthlink DOT net>
In-Reply-To: <F6I45.29119$FC6.715941@newsread1.prod.itd.earthlink.net>
MIME-Version: 1.0
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 <pierre AT hardy DOT com>:

> 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

- Raw text -


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