mirror of
https://github.com/reactos/RosBE.git
synced 2024-11-23 11:29:44 +00:00
See? This is the reason for Beta Versions.
- Fixed the "GCC not found" bug in AMD64 Build Processes. - Fixed something cosmetical in the look on startup of rosbe. svn path=/trunk/tools/RosBE/; revision=1110
This commit is contained in:
parent
6fa269cc03
commit
f9cae0b049
@ -20,7 +20,7 @@ if ("$ENV:ROS_PREFIX") {
|
||||
$global:_ROSBE_PREFIX = $null
|
||||
}
|
||||
|
||||
$ENV:PATH = "$_ROSBE_TARGET_MINGWPATH\bin;$_ROSBE_ORIGINALPATH"
|
||||
$ENV:PATH = "$_ROSBE_HOST_MINGWPATH\bin;$_ROSBE_TARGET_MINGWPATH\bin;$_ROSBE_ORIGINALPATH"
|
||||
$TARGETGCC = "$global:_ROSBE_PREFIX" + "gcc"
|
||||
& $TARGETGCC -v 2> gcctvers.tmp
|
||||
$global:_ROSBE_TARGET_GCCVERSION = (select-string -path .\gcctvers.tmp "gcc version") -replace ".*version ((\d|\.)+).*",'$1'
|
||||
|
@ -87,7 +87,7 @@ call "%_ROSBE_BASEDIR%\rosbe-gcc-env.cmd"
|
||||
cls
|
||||
echo *******************************************************************************
|
||||
echo * *
|
||||
echo * ReactOS Build Environment %_ROSBE_VERSION% *
|
||||
echo * ReactOS Build Environment %_ROSBE_VERSION% *
|
||||
echo * *
|
||||
echo *******************************************************************************
|
||||
echo.
|
||||
|
@ -27,7 +27,7 @@ if "%ROS_PREFIX%" == "" (
|
||||
set _ROSBE_PREFIX=%ROS_PREFIX%-
|
||||
)
|
||||
|
||||
set PATH=%_ROSBE_TARGET_MINGWPATH%\bin;%_ROSBE_ORIGINALPATH%
|
||||
set PATH=%_ROSBE_HOST_MINGWPATH%\bin;%_ROSBE_TARGET_MINGWPATH%\bin;%_ROSBE_ORIGINALPATH%
|
||||
|
||||
for /f "usebackq tokens=3" %%i in (`"%_ROSBE_PREFIX%gcc -v 2>&1 | find "gcc version""`) do set _ROSBE_TARGET_GCCVERSION=%%i
|
||||
for /f "usebackq tokens=2" %%i in (`"%_ROSBE_PREFIX%gcc -v 2>&1 | find "Target""`) do set _ROSBE_TARGET_GCCTARGET=%%i
|
||||
|
Loading…
Reference in New Issue
Block a user