www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/06/23/13:00:07

From: "Matt Bayliss" <grebz AT hiddenemail DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Beginner stupid question...
Date: Sat, 23 Jun 2001 17:53:45 +0100
Organization: (Posted via) GTS Netcom - Public USENET Service http://pubnews.netcom.net.uk
Lines: 35
Sender: grebz AT crosswinds DOT net
Message-ID: <9h2hg2$dir$1@taliesin.netcom.net.uk>
References: <9h2h51$1epu$1 AT node21 DOT cwnet DOT roc DOT gblx DOT net>
NNTP-Posting-Host: host213-122-214-121.btinternet.com
X-Trace: taliesin.netcom.net.uk 993315139 13915 213.122.214.121 (23 Jun 2001 16:52:19 GMT)
X-Complaints-To: abuse AT corp DOT netcom DOT net DOT uk
NNTP-Posting-Date: Sat, 23 Jun 2001 16:52:19 +0000 (UTC)
X-Newsreader: Microsoft Outlook Express 4.72.3110.1
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Have you tried typing set at the command prompt?

Here's what I get:

D:\data\c>set
TMP=C:\WINDOWS\TEMP
TEMP=C:\WINDOWS\TEMP
PROMPT=$p$g
winbootdir=C:\WINDOWS
COMSPEC=C:\WINDOWS\COMMAND.COM
windir=C:\WINDOWS
DJGPP=d:\djgpp\djgpp.env
PATH=D:\DJGPP\BIN;D:\PROGS\BIN;C:\WINDOWS;C:\WINDOWS\COMMAND;D:\PROGS\PPD\BI
N

D:\data\c>

The key thing is that you have a mapping to c:\djgpp\bin which is where gcc
is.  Unless you put it somewhere else of course.
Check the readme on how to set autoexec.bat up.

Matt


Dave M. wrote in message <9h2h51$1epu$1 AT node21 DOT cwnet DOT roc DOT gblx DOT net>...
>What do I type my C source code into? I typed it into wordpad, then saved
>the ascii file as .c, but gcc can't find the file.
>
>Thanks,
>
>Dave M.
>
>


- Raw text -


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