Mail Archives: djgpp/1997/03/01/08:55:51
"John M. Aldrich" (fighteer AT cs DOT com) writes:
> Mike Loll wrote:
>>
>> Whenever I try and compile a program ( a simple Hello World type program
>> ) GCC says it can't find the include file(s). Am I doing something
>> wrong here? Do I need some sort of config file? I checked DJGPP.ENV
>> and it showed the include directory as /include ( my directory for djgpp
>> is C:\DJGPP) Any help is welcome. Thanks!
>
> Did you read all of the 'readme.1st' file that comes with DJGPP? In
> order for the programs to work, you must add the following settings to
> your AUTOEXEC.BAT file:
>
> - Add the C:\DJGPP\BIN directory to your PATH
> - Add the following line:
> SET DJGPP=C:\DJGPP\DJGPP.ENV
>
> Then reboot and see if you are still having problems.
Fun Fact: Laborious ten minute reboots are not needed when modifying
autoexec.bat. Instead, change the file, then enter the same lines at the
dos prompt. I.e. set path = %PATH%;C:\DJGPP\BIN and Set
djgpp=C:\DJGPP\DJGPP.ENV. Then go ahead and run djgpp. Unfortunately, the
same is not true of config.sys.
--
.*. Where feelings are concerned, answers are rarely simple [GeneDeWeese]
-() < When I go to the theater, I always go straight to the "bag and mix"
`*' bulk candy section...because variety is the spice of life... [me]
Paul Derbyshire ao950 AT freenet DOT carleton DOT ca, http://chat.carleton.ca/~pderbysh
- Raw text -