Mail Archives: djgpp/2001/03/06/04:14:46
[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 -