home *** CD-ROM | disk | FTP | other *** search
- @echo off
-
- if "%2" == "" goto error
-
- set BISON_HAIRY=%2/lib/bison.hairy
- set BISON_SIMPLE=%2/lib/bison.simple
- set FLEX_SKELETON=%2/lib/flex.skeleton
- set COMPILER_PATH=%2/bin
- set C_INCLUDE_PATH=%2/include
- set CPLUS_INCLUDE_PATH=%2/cplusinc;%2/include
- set OBJC_INCLUDE_PATH=%2/include;%2/include/objc
- set OBJCPLUS_INCLUDE_PATH=%2/include;%2/include/objc
- set LIBRARY_PATH=%2/lib
-
- set INFOPATH=%2/docs;%2/docs/djgpp
-
- rem TMPDIR is where gcc puts its temp files, and should be a ramdrive
- if "%TMPDIR%" == "" set TMPDIR=%2/tmp
-
- rem GO32TMP is where swapping happens, and should be a real drive
- if "%GO32TMP%" == "" set GO32TMP=%2/tmp
-
- rem see documentation for values for this
- if "%GO32%" == "" set GO32=
-
- goto exit
-
- :error
- echo.
- echo You must call this with DJGPP's installation directory passed
- echo twice, first with DOS-style slashes, then with Unix-style
- echo slashes. Example:
- echo.
- echo c:\stuff\djgpp\setdjgpp c:\stuff\djgpp c:/stuff/djgpp
- echo.
-
- :exit
-