Mail Archives: djgpp/1996/10/25/23:55:26
Mike Heffner wrote:
>
> gcc, gxx, etc. aren't able to find their library files unless i run setdjgpp
> everytime before i compile. Is their a path wrong somewhere in a file?
You _must_ set the DJGPP environment variable in order for DJGPP
programs to find their files. The recommended way to do this is to set
in your AUTOEXEC.BAT like so:
SET DJGPP=C:/DJGPP/DJGPP.ENV
Of course, replace this with the actual location of DJGPP.ENV. Case and
direction of the slashes don't matter, but SPACING DOES!
The 'setdjgpp' batch file effectively does this for you, but if you put
it in your AUTOEXEC, be sure to use 'call' with it, i.e.: call setdjgpp
c:\djgpp c:/djgpp
If you follow these instructions, you shouldn't need to run the batch
file every time before you compile. If this still doesn't work, please
post a description of your system including: autoexec.bat and
config.sys files, the output of 'set' when run from dos, the contents of
'djgpp.env', the output of 'go32-v2' when run without arguments, and the
output of gcc when invoked with the -v option (i.e., redir -o gcc.out
-eo gcc -v ...). See the DJGPP FAQ (v2/faq202b.zip) sections 6 and 8
for more information.
--
---------------------------------------------------------------------
| John M. Aldrich, aka Fighteer I | fighteer AT cs DOT com |
| Proud owner of what might one | http://www.cs.com/fighteer |
| day be a spectacular MUD... | Plan: To make Bill Gates suffer |
---------------------------------------------------------------------
- Raw text -