From: "Tom St Denis" Newsgroups: comp.os.msdos.djgpp References: 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: 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" 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