Mail Archives: djgpp/1999/03/18/10:41:15
Hello all (Newbies especially),
I keep seeing a lot of questions regarding the autoexec.bat modifications
and problems with windows, whether it be environment space or other issues.
I have a suggestion.
Under windows 9*, create a new shortcut on the desktop and call it command
(MSDOS Prompt). You can name this thing "DJGPP compiler" or anything you
want. Now, create a batch file that includes the modifications that the
compiler requires (set path ... and set env etc). Also make adjustments to
the working directory to c:\DJGPP or whatever is appropriate. If you are
having problems with compiling, then the only changes that are required are
modifying this batch file (I call mine c.bat and keep it in
c:\DJGPP\BIN). This allows for your usual every dos program setups to
be used in Autoexec.bat (set Blaster commands etc, I use
c:\windows\command\doskey.com as well) without the extended attributes
required for your compiler.
This procedure works particularly well if you happen to have more than one
DOS compiler that each require their own environment variables set. I have
MS FORTRAN and MASM setup with a different MSDOS Prompt/ batch file combo
as an example.
Hope this helps,
Gary
- Raw text -