Author: dreimer
Date: Wed Nov 26 00:56:16 2008
New Revision: 37651
URL:
http://svn.reactos.org/svn/reactos?rev=37651&view=rev
Log:
For our regression testers Olaf Siejka and Maciej Bialas out there. Experimental GCC 3.4.5
Support readded to RosBE. Plz test
Added delete command to updater.
Modified:
trunk/tools/RosBE/RosBE-Windows/Powershell/Help.ps1
trunk/tools/RosBE/RosBE-Windows/Powershell/rosbe-gcc-env.ps1
trunk/tools/RosBE/RosBE-Windows/Powershell/update.ps1
trunk/tools/RosBE/RosBE-Windows/Root/Help.cmd
trunk/tools/RosBE/RosBE-Windows/Root/rosbe-gcc-env.cmd
trunk/tools/RosBE/RosBE-Windows/Root/update.cmd
Modified: trunk/tools/RosBE/RosBE-Windows/Powershell/Help.ps1
URL:
http://svn.reactos.org/svn/reactos/trunk/tools/RosBE/RosBE-Windows/Powershe…
==============================================================================
--- trunk/tools/RosBE/RosBE-Windows/Powershell/Help.ps1 [iso-8859-1] (original)
+++ trunk/tools/RosBE/RosBE-Windows/Powershell/Help.ps1 [iso-8859-1] Wed Nov 26 00:56:16
2008
@@ -236,10 +236,11 @@
" Usage: update [OPTIONS]"
" Updates all files of RosBE to the most recent files."
""
- " reset - Removes the Updates Cache. Not recommended."
- " nr X - Re/Installs Update Nr X."
- " info X - Shows info about Update Nr X."
- " status - Shows the recent status of available, non installed
updates."
+ " delete X - Deletes Update Nr X."
+ " info X - Shows info about Update Nr X."
+ " nr X - Re/Installs Update Nr X."
+ " reset - Removes the Updates Cache. Not recommended."
+ " status - Shows the recent status of available, non installed
updates."
exit
}
}
Modified: trunk/tools/RosBE/RosBE-Windows/Powershell/rosbe-gcc-env.ps1
URL:
http://svn.reactos.org/svn/reactos/trunk/tools/RosBE/RosBE-Windows/Powershe…
==============================================================================
--- trunk/tools/RosBE/RosBE-Windows/Powershell/rosbe-gcc-env.ps1 [iso-8859-1] (original)
+++ trunk/tools/RosBE/RosBE-Windows/Powershell/rosbe-gcc-env.ps1 [iso-8859-1] Wed Nov 26
00:56:16 2008
@@ -14,7 +14,7 @@
if ($_ROSBE_HOST_MINGWPATH -eq $null) {
$_ROSBE_MODE = "MinGW"
$_ROSBE_HOST_MINGWPATH = "$pwd"
- $_ROSBE_ORIGINALPATH = "$PATH"
+ $_ROSBE_ORIGINALPATH = "$ENV:PATH"
}
@@ -69,7 +69,18 @@
$ENV:TARGET_CFLAGS = "-I""$_ROSBE_TARGET_MINGWPATH\include""
-I""$_ROSBE_TARGET_MINGWPATH\lib\gcc\$_ROSBE_GCCTARGET\$_ROSBE_GCCVERSION\include"""
$ENV:TARGET_CPPFLAGS =
"-I""$_ROSBE_TARGET_MINGWPATH\include""
-I""$_ROSBE_TARGET_MINGWPATH\include\c++\$_ROSBE_GCCVERSION""
-I""$_ROSBE_TARGET_MINGWPATH\include\c++\$_ROSBE_GCCVERSION\$_ROSBE_GCCTARGET""
-I""$_ROSBE_TARGET_MINGWPATH\lib\gcc\$_ROSBE_GCCTARGET\$_ROSBE_GCCVERSION\include"""
}
-
+if ($_ROSBE_HOST_GCCVERSION -eq "3.4.5") {
+ $ENV:PATH =
$_ROSBE_BASEDIR\3.4.5\bin;$_ROSBE_BASEDIR\3.4.5\libexec\gcc\mingw32\3.4.5;$ENV:PATH
+ $_ROSBE_MINGWMAKE = $_ROSBE_BASEDIR\3.4.5\bin\mingw32-make.exe
+ # Set all paths (needed by Windows Vista)
+ $ENV:C_INCLUDE_PATH =
$_ROSBE_BASEDIR\3.4.5\include;$_ROSBE_BASEDIR\3.4.5\lib\gcc\mingw32\3.4.5\include
+ $ENV:CPLUS_INCLUDE_PATH =
$_ROSBE_BASEDIR\3.4.5\include;$_ROSBE_BASEDIR\3.4.5\include\c++\3.4.5;$_ROSBE_BASEDIR\3.4.5\include\c++\3.4.5\mingw32;$_ROSBE_BASEDIR\3.4.5\lib\gcc\mingw32\3.4.5\include
+ $ENV:LIBRARY_PATH =
$_ROSBE_BASEDIR\3.4.5\lib;$_ROSBE_BASEDIR\3.4.5\lib\gcc\mingw32\3.4.5
+ $ENV:HOST_CFLAGS = $null
+ $ENV:HOST_CPPFLAGS = $null
+ $ENV:TARGET_CFLAGS = $null
+ $ENV:TARGET_CPPFLAGS = $null
+)
#
# Display the current version of GCC, NASM, ld and make.
#
@@ -109,4 +120,5 @@
"WARNING: Flex will soon be required to build ReactOS, none found in the
current MinGW/GCC."
}
}
+$ENV:PATH = $_ROSBE_ORIGINALPATH
& mingw32-make -v | & find "GNU Make"
Modified: trunk/tools/RosBE/RosBE-Windows/Powershell/update.ps1
URL:
http://svn.reactos.org/svn/reactos/trunk/tools/RosBE/RosBE-Windows/Powershe…
==============================================================================
--- trunk/tools/RosBE/RosBE-Windows/Powershell/update.ps1 [iso-8859-1] (original)
+++ trunk/tools/RosBE/RosBE-Windows/Powershell/update.ps1 [iso-8859-1] Wed Nov 26 00:56:16
2008
@@ -126,6 +126,12 @@
UPDCHECK
EOC
}
+if ("$arg1" -eq "delete") {
+ $_ROSBE_STATCOUNT = $arg2
+ remove-item
"$ENV:APPDATA\RosBE\Updates\$_ROSBE_VERSION-$_ROSBE_STATCOUNT.*" -force -recurse
-EA SilentlyContinue
+ remove-item
"$ENV:APPDATA\RosBE\Updates\tmp\$_ROSBE_VERSION-$_ROSBE_STATCOUNT.*" -force
-recurse -EA SilentlyContinue
+ EOC
+}
if ("$arg1" -eq "info") {
$_ROSBE_STATCOUNT = $arg2
set-location tmp
Modified: trunk/tools/RosBE/RosBE-Windows/Root/Help.cmd
URL:
http://svn.reactos.org/svn/reactos/trunk/tools/RosBE/RosBE-Windows/Root/Hel…
==============================================================================
--- trunk/tools/RosBE/RosBE-Windows/Root/Help.cmd [iso-8859-1] (original)
+++ trunk/tools/RosBE/RosBE-Windows/Root/Help.cmd [iso-8859-1] Wed Nov 26 00:56:16 2008
@@ -242,10 +242,11 @@
echo Usage: update [OPTIONS]
echo Updates all files of RosBE to the most recent files.
echo.
- echo reset - Removes the Updates Cache. Not recommended.
- echo nr X - Re/Installs Update Nr X.
- echo info X - Shows info about Update Nr X.
- echo status - Shows the recent status of available, non installed updates.
+ echo delete X - Deletes Update Nr X.
+ echo info X - Shows info about Update Nr X.
+ echo nr X - Re/Installs Update Nr X.
+ echo reset - Removes the Updates Cache. Not recommended.
+ echo status - Shows the recent status of available, non installed updates.
goto :EOC
)
)
Modified: trunk/tools/RosBE/RosBE-Windows/Root/rosbe-gcc-env.cmd
URL:
http://svn.reactos.org/svn/reactos/trunk/tools/RosBE/RosBE-Windows/Root/ros…
==============================================================================
--- trunk/tools/RosBE/RosBE-Windows/Root/rosbe-gcc-env.cmd [iso-8859-1] (original)
+++ trunk/tools/RosBE/RosBE-Windows/Root/rosbe-gcc-env.cmd [iso-8859-1] Wed Nov 26
00:56:16 2008
@@ -78,7 +78,18 @@
set TARGET_CFLAGS=-I"%_ROSBE_TARGET_MINGWPATH%\include"
-I"%_ROSBE_TARGET_MINGWPATH%\lib\gcc\%_ROSBE_GCCTARGET%\%_ROSBE_GCCVERSION%\include"
set TARGET_CPPFLAGS=-I"%_ROSBE_TARGET_MINGWPATH%\include"
-I"%_ROSBE_TARGET_MINGWPATH%\include\c++\%_ROSBE_GCCVERSION%"
-I"%_ROSBE_TARGET_MINGWPATH%\include\c++\%_ROSBE_GCCVERSION%\%_ROSBE_GCCTARGET%"
-I"%_ROSBE_TARGET_MINGWPATH%\lib\gcc\%_ROSBE_GCCTARGET%\%_ROSBE_GCCVERSION%\include"
)
-
+if "%_ROSBE_HOST_GCCVERSION%" == "3.4.5" (
+ set
PATH=%_ROSBE_BASEDIR%\3.4.5\bin;%_ROSBE_BASEDIR%\3.4.5\libexec\gcc\mingw32\3.4.5;%PATH%
+ set _ROSBE_MINGWMAKE=%_ROSBE_BASEDIR%\3.4.5\bin\mingw32-make.exe
+ :: Set all paths (needed by Windows Vista)
+ set
C_INCLUDE_PATH=%_ROSBE_BASEDIR%\3.4.5\include;%_ROSBE_BASEDIR%\3.4.5\lib\gcc\mingw32\3.4.5\include
+ set
CPLUS_INCLUDE_PATH=%_ROSBE_BASEDIR%\3.4.5\include;%_ROSBE_BASEDIR%\3.4.5\include\c++\3.4.5;%_ROSBE_BASEDIR%\3.4.5\include\c++\3.4.5\mingw32;%_ROSBE_BASEDIR%\3.4.5\lib\gcc\mingw32\3.4.5\include
+ set
LIBRARY_PATH=%_ROSBE_BASEDIR%\3.4.5\lib;%_ROSBE_BASEDIR%\3.4.5\lib\gcc\mingw32\3.4.5
+ set HOST_CFLAGS=
+ set HOST_CPPFLAGS=
+ set TARGET_CFLAGS=
+ set TARGET_CPPFLAGS=
+)
::
:: Display the current version of GCC, NASM, ld and make.
::
@@ -125,4 +136,5 @@
echo WARNING: Flex will soon be required to build ReactOS, none found in the
current MinGW/GCC.
)
)
+set PATH=%_ROSBE_ORIGINALPATH%
mingw32-make -v | find "GNU Make"
Modified: trunk/tools/RosBE/RosBE-Windows/Root/update.cmd
URL:
http://svn.reactos.org/svn/reactos/trunk/tools/RosBE/RosBE-Windows/Root/upd…
==============================================================================
--- trunk/tools/RosBE/RosBE-Windows/Root/update.cmd [iso-8859-1] (original)
+++ trunk/tools/RosBE/RosBE-Windows/Root/update.cmd [iso-8859-1] Wed Nov 26 00:56:16 2008
@@ -90,6 +90,12 @@
if /i "%1" == "nr" (
set _ROSBE_STATCOUNT=%2
call :UPDCHECK
+ goto :EOC
+)
+if /i "%1" == "delete" (
+ set _ROSBE_STATCOUNT=%2
+ del /F /Q "%APPDATA%\RosBE\Updates\%_ROSBE_VERSION%-%_ROSBE_STATCOUNT%.*"
1> NUL 2> NUL
+ del /F /Q
"%APPDATA%\RosBE\Updates\tmp\%_ROSBE_VERSION%-%_ROSBE_STATCOUNT%.*" 1> NUL
2> NUL
goto :EOC
)
if /i "%1" == "info" (