@echo off

rem ****************************************************************
rem
rem    This batch file will set up the environment for using PGCC
rem    At the beginning of the script there are several variables
rem    that you can change to suit your needs
rem
rem ****************************************************************

set EMX_PATH=f:/emx/
set WORK_SHELL=%COMSPEC%
rem set WORK_SHELL=call fc

set PATH=%EMX_PATH%bin.new;%PATH%
set C_INCLUDE_PATH=%EMX_PATH%include.new;%C_INCLUDE_PATH%
set CPLUS_INCLUDE_PATH=%EMX_PATH%include.new/cpp;%EMX_PATH%include.new;%CPLUS_INCLUDE_PATH%
set OBJC_INCLUDE_PATH=%EMX_PATH%include.new;%OBJC_INCLUDE_PATH%
set LIBRARY_PATH=%EMX_PATH%lib.new;%LIBRARY_PATH%
set BEGINLIBPATH=%EMX_PATH%dll.new

echo.
echo ****************************************************************
echo               Environment variables set up for PGCC
echo ****************************************************************

%WORK_SHELL%

echo.
echo ****************************************************************
echo                 Back to original EMX configuration
echo ****************************************************************
