[ros-diffs] [dreimer] 35866: The arch can now be selected by modifying only one Variable in the Config File. This way the two arch specific Vars are "linked" together. Add a security message which prevents a build with deactivated Debug Symbols and Stripped apps. This most likely causes crap. Update Changelog.

dreimer at svn.reactos.org dreimer at svn.reactos.org
Wed Sep 3 14:38:32 CEST 2008


Author: dreimer
Date: Tue Sep  2 00:29:09 2008
New Revision: 35866

URL: http://svn.reactos.org/svn/reactos?rev=35866&view=rev
Log:
The arch can now be selected by modifying only one Variable in the Config File. This way the two arch specific Vars are "linked" together.
Add a security message which prevents a build with deactivated Debug Symbols and Stripped apps. This most likely causes crap.
Update Changelog.

Modified:
    trunk/tools/RosBE/RosBE-Windows/Root/Build.cmd
    trunk/tools/RosBE/RosBE-Windows/Root/ChangeLog.txt
    trunk/tools/RosBE/RosBE-Windows/Root/rosbe-gcc-env.cmd

Modified: trunk/tools/RosBE/RosBE-Windows/Root/Build.cmd
URL: http://svn.reactos.org/svn/reactos/trunk/tools/RosBE/RosBE-Windows/Root/Build.cmd?rev=35866&r1=35865&r2=35866&view=diff
==============================================================================
--- trunk/tools/RosBE/RosBE-Windows/Root/Build.cmd [iso-8859-1] (original)
+++ trunk/tools/RosBE/RosBE-Windows/Root/Build.cmd [iso-8859-1] Tue Sep  2 00:29:09 2008
@@ -50,6 +50,15 @@
         set ROS_LEAN_AND_MEAN=no
     )
 )
+
+if %ROS_LEAN_AND_MEAN% == yes (
+    if %ROS_BUILDNOSTRIP% == yes (
+        cls
+        echo Selecting Stripping and removing Debug Symbols together will most likely cause useless apps. Please deselect one of them.
+        goto :EOC
+    )
+)
+
 if defined _ROSBE_USECCACHE (
     if %_ROSBE_USECCACHE% == 1 (
         set CCACHE_DIR=%APPDATA%\RosBE\.ccache

Modified: trunk/tools/RosBE/RosBE-Windows/Root/ChangeLog.txt
URL: http://svn.reactos.org/svn/reactos/trunk/tools/RosBE/RosBE-Windows/Root/ChangeLog.txt?rev=35866&r1=35865&r2=35866&view=diff
==============================================================================
--- trunk/tools/RosBE/RosBE-Windows/Root/ChangeLog.txt [iso-8859-1] (original)
+++ trunk/tools/RosBE/RosBE-Windows/Root/ChangeLog.txt [iso-8859-1] Tue Sep  2 00:29:09 2008
@@ -11,6 +11,9 @@
 - Other small Fixes here and there (Daniel Reimer)
 - Added: Basic PowerShell Version of RosBE (Daniel Reimer)
 - Added: Update command (Daniel Reimer)
+- Fixed: Dependant on the Arch variable a crosscompiler will be used now. (Daniel Reimer)
+- Fixed: Clean only cleans the arch which is active right now. (Daniel Reimer)
+- Fixed: Stripped apps and removed Debug Symbols at once may not be possible. (Daniel Reimer)
 
 *** January 23rd, 2008 - RosBE 1.2 Released
 

Modified: trunk/tools/RosBE/RosBE-Windows/Root/rosbe-gcc-env.cmd
URL: http://svn.reactos.org/svn/reactos/trunk/tools/RosBE/RosBE-Windows/Root/rosbe-gcc-env.cmd?rev=35866&r1=35865&r2=35866&view=diff
==============================================================================
--- 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] Tue Sep  2 00:29:09 2008
@@ -21,6 +21,28 @@
     set _ROSBE_MODE=MinGW
     set _ROSBE_MINGWPATH=%CD%
     set _ROSBE_ORIGINALPATH=%PATH%
+)
+
+::
+:: Set the Arch Variables
+::
+if defined _ROSBE_ARCH (
+    if %_ROSBE_ARCH% == 0 (
+        set ROS_ARCH=
+        set ROS_PREFIX=
+    )
+    if %_ROSBE_ARCH% == 1 (
+        set ROS_ARCH=arm
+        set ROS_PREFIX=mingw32-arm
+    )
+    if %_ROSBE_ARCH% == 2 (
+        set ROS_ARCH=ppc
+        set ROS_PREFIX=mingw32-ppc
+    )
+    if %_ROSBE_ARCH% == 3 (
+        set ROS_ARCH=amd64
+        set ROS_PREFIX=mingw32-x86_64
+    )
 )
 
 ::



More information about the Ros-diffs mailing list