Mail Archives: djgpp/1997/02/06/03:41:24
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 |
---------------------------------------------------------------------
- Raw text -