From: Jason Alexander Newsgroups: comp.os.msdos.djgpp Subject: Setting directories for libraries Date: Tue, 27 Jan 1998 07:24:56 -0800 Organization: University of California, Irvine Lines: 17 Message-ID: <34CDFC48.BB64E880@ea.oac.uci.edu> References: <34CC0748 DOT 2745FAA9 AT ea DOT oac DOT uci DOT edu> <6ajf9p$b1b AT examiner DOT concentric DOT net> NNTP-Posting-Host: pv1821.pv.reshsg.uci.edu 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 I've installed djgpp and it seems to be working fine -- with the exception that it cannot find any header files (or libraries) stored outside of the default directories. Suppose I write a simple program in RHIDE requiring grx22.h and libgrx20.a. If I type F9 to compile and link the program, gcc complains that it cannot find grx22.h. If I copy grx22.h to my working directory, I can *compile* the program fine, but then gcc complains when it tries to link. Again, if I copy libgrx20.a to my working directory, and *manually* invoke gcc by typing gcc -o myprog.exe myprog.o libgrx20.a, it works. What variables/changes do I need to make? Thanks, Jason