Mail Archives: djgpp/1998/04/21/20:47:32
If you want a specific program that includes the .h file, put it in the current
directory and include it like this:
#include "filename.h" // as opposed to
#include <filename.h>
If you want many programs to access it, there are a few things you can do...
1) Put them in djgpp\include as you did.
2) For the sake of clarity, try to put them in djgpp\include\mine or something.
Just to tell them apart from the rest...
3) Use the command: gcc file.c -Ic:\my\includes
That's a capital I (i, eye) and no space between the I and the direcotory.
4) If you're feeling lucky, add your a path to the DJGPP.ENV file. Mind you,
this may be pushing it, and you may want to keep a backup in case something goes
wrong.
--
"DeHackEd"
EMail address not given out due to low-life spammers.
n normal human body fluids
opens up interesting moral and legal questions.
Since DMT is illegal, as is 'any substance, compound
or mixture' containing DMT, it would seem that we
are all guilty of possesion of a controlled substance"
-Jonathon Ott
My weird, trippy page:
http://www.geocities.com/SunsetStrip/Alley/3450/index.html
- Raw text -