mingwmake.bat
author Jan Vrany <jan.vrany@fit.cvut.cz>
Sun, 31 Mar 2013 19:25:00 +0100
branchdevelopment
changeset 2476 d24ce8174195
parent 2429 ebece4dcaab9
child 2501 53d731454d43
permissions -rw-r--r--
JavaClass can now keep it's classfile bytes. Although a hack, this allows us to use exisiting ECJ's classes to provide type information to the compiler and thus allows for using ECJ within STX:LIBJAVA. A proper solution would be to provide an IBinaryType implementation that reflects on loaded classes.

@REM -------
@REM make using mingw gnu compiler
@REM type mingwmake, and wait...
@REM do not edit - automatically generated from ProjectDefinition
@REM -------
@SET DEFINES=
@REM Kludge got Mercurial, cannot be implemented in Borland make
@FOR /F "tokens=*" %%i in ('hg root') do SET HGROOT=%%i
@IF "%HGROOT%" NEQ "" SET DEFINES=%DEFINES% "-DHGROOT=%HGROOT%"

@pushd ..\rules
@call find_mingw.bat
@popd
make.exe -N -f bc.mak %DEFINES% %USEMINGW_ARG% %*

@echo "***********************************"
@echo "Buildung stx/libjava/tools
@echo "***********************************"
@cd tools
@call mingwmake %1 %2
@cd ..

@echo "***********************************"
@echo "Buildung stx/libjava/experiments
@echo "***********************************"
@cd experiments
@call mingwmake %1 %2
@cd ..