www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/03/06/10:17:08

Date: Wed, 6 Mar 1996 09:57:55 -0500 (EST)
From: Frank Donahoe <fdonahoe AT wilkes1 DOT wilkes DOT edu>
To: Djgpp <djgpp AT delorie DOT com>
Subject: Header file not found.
Message-Id: <Pine.A32.3.91.960306092449.41199A-100000@wilkes1.wilkes.edu>
Mime-Version: 1.0

The header file is in the working directory "." and a msdos.c is in a
sub-directory msdos.  In the msdos/makefile.dj2, VPATH=.;msdos      .
make is invoked as "make -fmsdos/makefile.dj2.  I am running the updated
released v2.0.  Make has no trouble finding msdos/msdos.c.  Within
msdos.c there is a line "#include "zip.h."  gcc cannot find zip.h even
when various combinations of -I-, -I.., -I../zip.h are put on the command
line.  The only things which work are:
the inelegant "copy /Y msdos/msdos.c msdos.c" ;
and the possibly unacceptable change in msdos.c to "#include "../zip.h."
Unacceptable because it is supposed to work with borland, microsoft, turbo
and whatcom etc. compilers and I can't test it with these programs.  The
makefiles are different, of course.

If my memory serves me, using -I.. worked in similar situations with v2beta3.
I hate to reinstall beta3 to test this but if I must, I will.  Is this
a real bug in the releasted v2?  If someone with a better recall of the
behavior of v2beta3 will confirm my recollection if be grateful.

Of course, suggestions of something else to try are most welcome, especially
if they work.:+)

- - - -
Frank Donahoe, Emeritus - Physics	fdonahoe AT wilkes1 DOT wilkes DOT edu
Wilkes University, Box 111		717-675-2493	(H)
Wilkes-Barre, PA  18766			717-675-6567	(fax)
USA					`Haste makes entropy!' Clausius
- - - -



- Raw text -


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