delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/01/02/00:12:39

Message-ID: <386EC613.A7B4FA10@global2000.net>
From: Andrea Ryan <aryan AT global2000 DOT net>
X-Mailer: Mozilla 4.61 [en] (Win95; I)
X-Accept-Language: en
MIME-Version: 1.0
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Include Paths
References: <386BFAF0 DOT 637140AD AT global2000 DOT net> <386C7D75 DOT 5C133888 AT is DOT elta DOT co DOT il>
Lines: 59
NNTP-Posting-Host: 209.203.145.133
X-Trace: tw11.nn.bcandid.com 946784407 209.203.145.133 (Sat, 01 Jan 2000 20:40:07 MST)
NNTP-Posting-Date: Sat, 01 Jan 2000 20:40:07 MST
Organization: bCandid - Powering the world's discussions - http://bCandid.com
Date: Sat, 01 Jan 2000 22:29:23 -0500
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

DJGPP didn't search the Scitech directories and the MGL headers were not
found.
Brendan Ryan

C:\SCITECH\EXAMPLES\MGL\SAMPLES>gcc hello.c -o hello.exe -v
Reading specs from c:/djgpp/lib/specs
gcc version 2.95.2 19991024 (release)
 c:/djgpp/lib/gcc-lib/djgpp/2.952/cpp.exe -lang-c -v -isystem
c:/djgpp/bin/inclu
de -D__GNUC__=2 -D__GNUC_MINOR__=95 -Dunix -Di386 -DGO32 -DMSDOS -DDJGPP=2
-DDJG
PP_MINOR=2 -D__unix__ -D__i386__ -D__GO32__ -D__MSDOS__ -D__DJGPP__=2
-D__DJGPP_
MINOR__=2 -D__unix -D__i386 -D__GO32 -D__MSDOS -D__DJGPP=2 -D__DJGPP_MINOR=2
hel
lo.c c:/djgpp/tmp\ccRhAheU.i
GNU CPP version 2.95.2 19991024 (release) (80386, BSD syntax)
#include "..." search starts here:
#include <...> search starts here:
 c:/djgpp/lib/gcc-lib/djgpp/2.952/include      <--------------No MGL!
 c:/djgpp/include
End of search list.
The following default directories have been omitted from the search path:
 PRIVATEDJDIRDJDIR
 $DJDIR/lang/cxx
 $DJDIR/lib/gcc-lib/djgpp/2.952/../../../../djgpp/include
End of omitted list.
In file included from hello.c:37:
mgraph.h:44: scitech.h: No such file or directory (ENOENT)
mgraph.h:48: mgl/mglver.h: No such file or directory (ENOENT)
mgraph.h:3235: mgl3d.h: No such file or directory (ENOENT)
mgraph.h:3246: mgldos.h: No such file or directory (ENOENT)

C:\SCITECH\EXAMPLES\MGL\SAMPLES>


Eli Zaretskii wrote:

> Andrea Ryan wrote:
> >
> > set C_INCLUDE_PATH=C:\Scitech\Include
> > set CPLUS_INCLUDE_PATH=C:\Scitech\Include
> > set C_LIBRARY_PATH=c:\Scitech\Lib\Dos32\Dj2
> > set CPLUS_LIBRARY_PATH=C:\Scitech\Lib\Dos32\Dj2
> > set CPLUS_LIBRARY_PATH=C:\Djgpp\lang\cxx
>
> The last setting overrides the one before it.  I think you can safely
> remove the last line, because C:\DJGPP\LANG\CXX does not contain
> libraries, only header files (and is searched automatically for C++
> headers).
>
> Other than that, I don't spot anything wrong with these settings.  Make
> sure they are indeed in effect in the same DOS box where you run the
> compiler, by typing "set [Enter]" in that box.  You should see the above
> lines (but without the "set " part).
>
> If this still doesn't work, add -v to the compilation command and see
> what directories does the compiler search for header files.

- Raw text -


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