From: "John M. Aldrich" Newsgroups: comp.os.msdos.djgpp Subject: Re: Problems on compiling Date: Thu, 16 Apr 1998 23:11:10 -0400 Organization: Two pounds of chaos and a pinch of salt. Lines: 47 Message-ID: <3536C84E.6730@cs.com> References: <199804162007 DOT VAA20813 AT spock DOT tinet DOT ie> NNTP-Posting-Host: ppp230.cs.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Barry Flanagan wrote: > > Hi, > > Please could you help me with two problems I have when using the gcc command > to compile my source code to a .exe file. > > No Input files > > No include path in which to find stdio.h > > The first error could be the way I have my directories setup whereby the > gcc.exe can't find my file to be made into a .exe file. > > I would greatly appreciate some help on this as I am a beginner to the C > program. These are insufficient details to help. However, I've never seen those error messages coming from gcc, so the first thing I would look for is having programs from a different compiler somewhere on your PATH. The second thing I would look for is an incorrect setting of the DJGPP environment variable. DJGPP comes with instructions, in the form of 'readme.1st', if you haven't read it, I suggest you do so. Also make sure that you have NOT altered 'djgpp.env' in any way. If these ideas don't help, please post a _small_ source file that generates the errors, along with a copy of the output of gcc when invoked with the '-v' parameter; i.e.: redir -o gcc.log -eo gcc -Wall -v -o myprog.exe myprog.c Then post the file 'gcc.log'. It would also help to see your environment, as shown by "set > environ.lst". Further instructions on posting a system report can be found in chapter 6.12 of the DJGPP Frequently Asked Questions list (v2/faq210b.zip from SimTel or online at http://www.delorie.com/djgpp/v2faq/). hth -- --------------------------------------------------------------------- | John M. Aldrich | "To be 'matter of fact' about the | | aka Fighteer I | world is to blunder into fantasy-- | | mailto:fighteer AT cs DOT com | and dull fantasy at that, as the real| | http://www.cs.com/fighteer | world is strange and wonderful." -LL | ---------------------------------------------------------------------