Mail Archives: djgpp/1997/06/23/12:05:39
On Sat, 14 Jun 1997, yin tan cui wrote:
> got "libadt.a" placed into djgpp\lib. and I have placed all the library
> files into a
> directory called "adtlib" inside the directory djgpp\include.
>
> the problem is that every time I need to include these files, I have
> to do
> #include "c:\djgpp\include\adtlib\adtlib.h"
Well if your only problem is th include file try:
gcc ...... -Ic:/djgpp/include/adtlib
Then just:
#include "adtlib.h"
I believe that you can add 'c:/djgpp/include/adtlib' to the
C_INCLUDE_PATH and/or the CPLUS_INCLUDE_PATH environment variables in the
djgpp.env file to accomplish the same thing permanently so you do not
need the -I options for every compile. In djgpp.env you djgpp root
directory (c:/djgpp) is represented as "%DJDIR% so you would append:
;%DJDIR%/include/adtlib
to the existing entries.
Art S. Kagel, kagel AT bloomberg DOT com
- Raw text -