- Make 'chdefgcc' available in the MinGW prompt as well.

svn path=/trunk/tools/RosBE/; revision=601
This commit is contained in:
Peter Ward 2007-12-05 19:12:25 +00:00
parent b25745ca15
commit bf3a3d6f0c
3 changed files with 14 additions and 3 deletions

View File

@ -38,6 +38,7 @@ echo.
::
for /f "usebackq" %%i in (`"%_ROSBE_BASEDIR%\Tools\cpucount.exe" -x1`) do set CPUCOUNT=%%i
doskey CHDEFGCC = "%_ROSBE_BASEDIR%\chdefgcc.cmd" $*
doskey MAKE = "%_ROSBE_MINGWMAKE%" $*
doskey MAKEX = "%_ROSBE_MINGWMAKE%" -j %CPUCOUNT% $*

View File

@ -8,7 +8,9 @@
::
@echo off
title Change the current MinGW/GCC directory...
if "%_ROSBE_MODE%" == "RosBE" (
title Change the current MinGW/GCC directory...
)
::
:: Parse the command line arguments.
@ -38,7 +40,9 @@ if "%_1%" == "" (
goto :EOF
:EOC
title ReactOS Build Environment %_ROSBE_VERSION%
if defined _ROSBE_VERSION (
title ReactOS Build Environment %_ROSBE_VERSION%
)
::
:: Unload all used Vars.

View File

@ -40,6 +40,12 @@ set LIBRARY_PATH=%_ROSBE_MINGWPATH%\lib;%_ROSBE_MINGWPATH%\lib\gcc\mingw32\%_ROS
:: Display the current version of GCC, NASM, ld and make.
::
gcc -v 2>&1 | find "gcc version"
nasm -v
if exist "%_ROSBE_MINGWPATH%\bin\nasm.exe" (
nasm -v
) else (
if "%_ROSBE_MODE%" == "RosBE" (
echo ERROR: NASM is required to build ReactOS, none found in the current MinGW/GCC.
)
)
ld -v
mingw32-make -v | find "GNU Make"