Date: Tue, 6 Mar 2001 11:10:40 +0200 (IST) From: Eli Zaretskii X-Sender: eliz AT is To: Gayle Smith cc: djgpp AT delorie DOT com Subject: Re: GCC WON'T COMPILE In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk [Please don't post in HTML.] On Tue, 6 Mar 2001, Gayle Smith wrote: > I have just loaded DJGPP onto my home computer which is running Windows Me. > Even though I have set the environment and path for DJGPP I have > been unable to run your compiler. > Using command > > c:\> gcc -o hello.exe hello.c > > Reply > Bad command or file name Please type the following command: redir -e compile.txt gcc -v -o hello.exe hello.c then post here the contents of the file compile.txt produced by this command. > Attached are my environ.txt file and a word document which includes > various screen captures and a copy of my config.sys file. Please post the text files as plain text, not as Word documents. No one in their right mind will open a Word document which comes from an unknown source, due to all kinds of malicious viruses out there. One common source of problems with Windows ME is that you need to reboot the machine after setting the environment variables such as PATH, or run the msconfig.exe program. I'm guessing that your PATH is not set to include the DJGPP's bin subdirectory, where all the programs live. > DJGPP = c:\djgpp\djgpp.env > PATH = c:\djgpp\bin;C:\WINDOWS;C:\WINDOWS\COMMAND;C:\jdk1.3\bin;D:\ORA95DEV\BIN You have excess blanks around the equals sign here which are probably one cause of your problems. See section 8.2 of the DJGPP FAQ list for more about this common mistake.