delorie.com/archives/browse.cgi | search |
From: | "Dave M." <gadgetnospam AT frontiernet DOT net> |
Newsgroups: | comp.os.msdos.djgpp |
Subject: | Re: Beginner stupid question... |
Date: | Sat, 23 Jun 2001 13:45:24 -0700 |
Organization: | Remove "nospam" to e-mail me. |
Lines: | 49 |
Message-ID: | <9h2kic$ei0$1@node21.cwnet.roc.gblx.net> |
References: | <9h2h51$1epu$1 AT node21 DOT cwnet DOT roc DOT gblx DOT net> <9h2hg2$dir$1 AT taliesin DOT netcom DOT net DOT uk> |
NNTP-Posting-Host: | 64-214-240-134.dsl1.roc.gblx.net |
X-Trace: | node21.cwnet.roc.gblx.net 993318285 14912 64.214.240.134 (23 Jun 2001 17:44:45 GMT) |
X-Complaints-To: | abuse AT gblx DOT net |
NNTP-Posting-Date: | Sat, 23 Jun 2001 17:44:45 +0000 (UTC) |
X-Newsreader: | Microsoft Outlook Express 4.72.2106.4 |
X-MimeOLE: | Produced By Microsoft MimeOLE V4.72.2106.4 |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Reply-To: | djgpp AT delorie DOT com |
Matt, I renamed my source file using ".c++" instead of ".c" and gcc found the file. I also got remarks about errors in my program. Thanks, Dave M. Matt Bayliss wrote in message <9h2hg2$dir$1 AT taliesin DOT netcom DOT net DOT uk>... >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\B I >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. >> >> > >
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |