delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/07/28/10:25:22

From: "Marc" <marco AT lepton78 DOT freeserve DOT co DOT uk>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: HELP!
Date: Wed, 28 Jul 1999 02:19:15 +0100
Organization: Customer of Planet Online
Lines: 32
Message-ID: <7nlltj$b5s$1@news4.svr.pol.co.uk>
References: <379E4843 DOT 6B398B7A AT bellsouth DOT net>
NNTP-Posting-Host: modem-30.androstenedione.dialup.pol.co.uk
X-Trace: news4.svr.pol.co.uk 933124851 11452 62.136.52.158 (28 Jul 1999 01:20:51 GMT)
NNTP-Posting-Date: 28 Jul 1999 01:20:51 GMT
X-Complaints-To: abuse AT theplanet DOT net
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2014.211
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2014.211
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Donna Gula <gula AT bellsouth DOT net> wrote in message
news:379E4843 DOT 6B398B7A AT bellsouth DOT net...
> Hey, I'm a beginner with C++ and DJGPP and whenever I try to compile a
> program, it says "Bad command or file name" and I have the extension
> ".cpp" or ".C" on i hope someone could answer this for me.(it's probably
> something stupid that i did or didn't do and im going to look like a
> retard but please help me!)
>

Have you set your path in your autoexec.bat file, you should see something
like this ?

set DJGPP=C:\DJGPP\DJGPP.ENV
set PATH=C:\DJGPP\BIN;%PATH%

er, are you in the same directory as your source file ?

is your command line prompt typed correctly ?

i.e. gcc myprog.c -o myprog.exe

have you installed DJGPP correctly ?

Have you read the readme.1st that came with DJGPP ?

I hope I've been some help !

Bye



- Raw text -


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