mirror of
https://github.com/reactos/RosBE.git
synced 2024-11-23 19:39:51 +00:00
- Make 'chdefgcc' available in the MinGW prompt as well.
svn path=/trunk/tools/RosBE/; revision=601
This commit is contained in:
parent
b25745ca15
commit
bf3a3d6f0c
@ -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% $*
|
||||
|
||||
|
@ -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.
|
||||
|
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user