www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/03/06/04:14:46

Date: Tue, 6 Mar 2001 11:10:40 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: Gayle Smith <sparaxis15 AT hotmail DOT com>
cc: djgpp AT delorie DOT com
Subject: Re: GCC WON'T COMPILE
In-Reply-To: <F278r85pLBwg9MvuHdP00000857@hotmail.com>
Message-ID: <Pine.SUN.3.91.1010306111007.7922S@is>
MIME-Version: 1.0
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

[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.

- Raw text -


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