delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/07/04/17:30:07

From: "Tom St Denis" <tomstdenis AT yahoo DOT com>
Newsgroups: comp.os.msdos.djgpp
References: <F257eiYRpXbD4dSrXh30001245a AT hotmail DOT com>
Subject: Re: gcc bug?
Lines: 23
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2462.0000
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2462.0000
Message-ID: <JUL07.92475$Mf5.26540830@news3.rdc1.on.home.com>
Date: Wed, 04 Jul 2001 21:29:13 GMT
NNTP-Posting-Host: 24.112.8.23
X-Complaints-To: abuse AT home DOT net
X-Trace: news3.rdc1.on.home.com 994282153 24.112.8.23 (Wed, 04 Jul 2001 14:29:13 PDT)
NNTP-Posting-Date: Wed, 04 Jul 2001 14:29:13 PDT
Organization: Excite AT Home - The Leader in Broadband http://home.com/faster
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

"Mark Hingston" <mkston AT hotmail DOT com> wrote in message
news:F257eiYRpXbD4dSrXh30001245a AT hotmail DOT com...
> I tried creating the basic samp.c file using RHIDE and then placed it in
the
> same directory as GCC. When I tried using the gcc samp.c -o samp.exe from
a
> MS-DOS prompt I recieved the following error:
> gcc.exe:samp.c: No such file or directory (ENOENT)
> gcc.exe: No input files
>
> Sorry if this is a stupid question and wastes your time and/or you are the
> wrong recipient to this mail. I have looked through the bug lists and I am
> new to the software. Thanks for your help :)

Hmm?  Where did you run GCC from when you called it?  GCC.EXE will be in
/djgpp/bin and this must be in your path.  But your source must in the same
directory.  Say you put samp.c in C:\mystuff\ then you must be in that
directory when you call gcc

Tom


- Raw text -


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