www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/01/27/10:47:00

From: Jason Alexander <jalex AT ea DOT oac DOT uci DOT edu>
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
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

  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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019