# set repository=r:\unixos2\ports for %%x in (%repository%\emx\*.zip) do unzip -o %%x -d c:/ 1>nul 2>&1 unzip -o %repository%\emx\emxfix04.zip -d c:/ 1>nul 2>&1 unzip -o %repository%\binutils\binutils-os2-2.11.2-bin.zip -d c:/ unzip -o %repository%\gcc\gcc-os2-3.0.3-beta-gcc.zip -d c:/ unzip -o %repository%\gcc\gcc-os2-3.0.3-beta-goc.zip -d c:/ unzip -o %repository%\gcc\gcc-os2-3.0.3-beta-gpp.zip -d c:/ set PATH=c:\emx\bin.new;c:\emx\bin;c:\usr\bin;c:\os2; set beginlibpath=c:\emx\dll; set C_INCLUDE_PATH=c:/emx/include; set CPLUS_INCLUDE_PATH=c:/emx/include; set LIBRARY_PATH=c:/emx/lib c: cd \emx\include call long cd \emx\lib make cd \emx\lib\gcc-lib\i386-pc-os2_emx\3.0.3 make ##