Mail Archives: djgpp/1999/11/17/03:51:35
On Tue, 16 Nov 1999, Andrea Ryan wrote:
> I got MGL and the Djgpp.env file needs a path to the *.h files in
> C:\Scitech\Include. I tried
> C_INCLUDE_PATH=%/>;C_INCLUDE_PATH%include;%Scitech%/Include;%PRIVATE%/include
>
> and
> LIBRARY_PATH=%/>;LIBRARY_PATH%%include;%Scitech%/Include;%PRIVATE%/include
>
> under [gcc].
> It didn't work.
Of course, it won't: your entries are erroneous.
Do *not*, repeat: do NOT edit your DJGPP.ENV unless you are
_absolutely_ certain there's no other way to get what you want, *and*
you are _positive_ you know all the intricacies of the cryptic syntax
used by DJGPP.ENV. You can easily screw a perfectly good installation
by messing with DJGPP.ENV.
The right way of adding directories to the include path is to define
the variable C_INCLUDE_PATH in the environment that lists only the
additional directories. DJGPP.ENV is already set up to prepend any
existing value to the system directories. So you have no reason
whatsoever to futz with DJGPP.ENV in your case.
I suggest to revert to the version of DJGPP.ENV from djdev202.zip, and
define C_INCLUDE_PATH in the environment.
If the above doesn't help, add -v to a compilation command line and
post here everything that is printed by the compiler.
- Raw text -