From: "John M. Aldrich" Newsgroups: comp.os.msdos.djgpp Subject: Re: DJGPP is not strict enough ??? Date: Wed, 05 Feb 1997 21:00:36 -0800 Organization: Two pounds of chaos and a pinch of salt Lines: 24 Message-ID: <32F96574.2C36@cs.com> References: <1997Feb5 DOT 173245 DOT 93344 AT cc DOT usu DOT edu> Reply-To: fighteer AT cs DOT com NNTP-Posting-Host: ppp103.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 CHRISTINA wrote: > > Is there anyway I can force djgpp > to check if I've included the necessary > libraries? Use the '-Wall' switch when you compile, and gcc will give you warnings about implicit function declarations. Then, just look up the indicated function in the libc docs to see what header file it belongs to. If you haven't already, you should get the GNU Info documentation reader (v2gnu/txi390b.zip). '-Wall' is useful for a great many other things; I HIGHLY recommend that you use it with every program! Other good gcc command-line options are '-O' and '-g'; look these up in the gcc docs to see what they do. :) Good luck! -- --------------------------------------------------------------------- | John M. Aldrich, aka Fighteer I | fighteer AT cs DOT com | | Proud owner of what might one | http://www.cs.com/fighteer | | day be a spectacular MUD... | Plan: To make Bill Gates suffer | ---------------------------------------------------------------------