delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/03/17/07:36:00

From: "Roger Beeman" <topos AT erols DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: gcc reported bad command
Date: Wed, 17 Mar 1999 05:30:51 -0500
Lines: 41
Message-ID: <7co03s$arv$1@winter.news.rcn.net>
X-Trace: ZalyiKsdnihkjaiL/Wg7Fgcs7LpBfvyVN0VDsVAjiy8=
X-Complaints-To: abuse AT rcn DOT com
NNTP-Posting-Date: 17 Mar 1999 10:28:12 GMT
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.0810.800
X-Newsreader: Microsoft Outlook Express 5.00.0810.800
X-MSMail-Priority: Normal
X-Priority: 3
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

G:\DJGPP\bin\hello.c reads

#include <stdio.h>

main()
{
        printf("Hello, world!\n");
                return 0;
}

Type at DOS in the box (Win95OSR2.5) prompt:

G:\DJGPP\bin gcc hello.c -o hello.exe   [enter]
Bad command or file name

2.02 files unzipped from H: to G:\DJGPP using WinZip7.0

TMP=C:\WINDOWS\TEMP
TEMP=C:\WINDOWS\TEMP
PROMPT=$p$g
winbootdir=C:\WINDOWS
COMSPEC=C:\WINDOWS\COMMAND.COM
DJGPP=G:\DJGPP\DJGPP.ENV
PATH=G:\DJGPP\BIN;E:\OFFICE\OFFICE;C:\WINDOWS;C:\WINDOWS\COMMAND
windir=C:\WINDOWS


@PATH E:\OFFICE\OFFICE;%PATH%
set DJGPP=G:\DJGPP\DJGPP.ENV
set PATH=G:\DJGPP\BIN;%PATH%
REM The folowing line added by InocuLAN AntiVirus.
C:\PROGRA~1\CHEYENNE\ANTIVI~1\EXAMINE.EXE /X

I have not touched djgpp.env

Please help.  I'm trying to get past DayOne.





- Raw text -


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