Mail Archives: djgpp/1998/01/29/05:03:22
>> > 1. Start up a DOS window from windows95
>> > 2. Run the batch file (which has
>> > set djgpp=c:\djgpp\djgpp.env
>> > set path=c:\djgpp\bin;%path%)
>> > 3. Start programming
>>
>> This is silly. If you plan to do a lot of programming in DJGPP, you
>> should set the environment variables in your autoexec.bat so they always
>> exist. I can't think of any possible reason why this wouldn't work
>> better.
>
>While, on the whole, I'd agree with you (DJGPP is my DOS C compiler of
>choice) there are times when you don't want to do it. For example, if you
>have more than one GNU development environment (DJGPP, GCC-Win32,
>GCC-Win32-prc, ...).
>
I definitely agree. I have Turbo C++ 3.0, Watcom C/C++ 10.6, TASM5, and DJGPP
V2 all installed and I have several different batch files to setup the
environment to work under each, for example: set_dj2.bat, set_tc3.bat,
set_wat.bat, and set_t5.bat.
Whenever I want to develop under a specific compiler, I just run the necessary
batch file.
- Aegis (fist1000 AT aol DOT com)
- Raw text -