Author: peterw
Date: Thu Jan 24 05:43:40 2008
New Revision: 31967
URL: http://svn.reactos.org/svn/reactos?rev=31967&view=rev
Log:
- Update the changelog and readme, RosBE 1.2 is released.
Modified:
trunk/tools/RosBE/RosBE-Windows/Root/ChangeLog.txt
trunk/tools/RosBE/RosBE-Windows/Root/README.odt
Modified: trunk/tools/RosBE/RosBE-Windows/Root/ChangeLog.txt
URL: http://svn.reactos.org/svn/reactos/trunk/tools/RosBE/RosBE-Windows/Root/Cha…
==============================================================================
--- trunk/tools/RosBE/RosBE-Windows/Root/ChangeLog.txt (original)
+++ trunk/tools/RosBE/RosBE-Windows/Root/ChangeLog.txt Thu Jan 24 05:43:40 2008
@@ -1,4 +1,4 @@
-*** XXX XXth, 2008 - RosBE 1.2 Released
+*** January 23rd, 2008 - RosBE 1.2 Released
- Updated: NASM to 2.01 (Peter Ward)
- Updated: Subversion to 1.4.6 (Peter Ward)
@@ -19,6 +19,7 @@
- Add a macro file for the MinGW prompt and add SCUT to this macro file (Colin Finck)
- Add the ability to determine the cpu count based on the inherited process affinity mask to cpucount (only for win32 hosts) (Thomas Weidenmueller)
- KDBG is defaulted to 1 now in Config.cmd to reflect changes in svn. (Daniel Reimer)
+- Grab the GCC target dynamically as well as the version so chdefgcc will work with mingw64, etc... (Peter Ward)
*** December 8th, 2007 - RosBE 1.1 Released
Modified: trunk/tools/RosBE/RosBE-Windows/Root/README.odt
URL: http://svn.reactos.org/svn/reactos/trunk/tools/RosBE/RosBE-Windows/Root/REA…
==============================================================================
Binary files - no diff available.
Author: cfinck
Date: Wed Jan 23 21:21:21 2008
New Revision: 31964
URL: http://svn.reactos.org/svn/reactos?rev=31964&view=rev
Log:
- Add some more information to the README about the tested host systems and a special hint required for using RosBE-Unix under FreeBSD.
- Change the version to 1.1. This is the final version!
Modified:
trunk/tools/RosBE/RosBE-Unix/README
trunk/tools/RosBE/RosBE-Unix/README.odt
trunk/tools/RosBE/RosBE-Unix/RosBE-Builder.sh
trunk/tools/RosBE/RosBE-Unix/scripts/RosBE.sh
Modified: trunk/tools/RosBE/RosBE-Unix/README
URL: http://svn.reactos.org/svn/reactos/trunk/tools/RosBE/RosBE-Unix/README?rev=…
==============================================================================
--- trunk/tools/RosBE/RosBE-Unix/README (original)
+++ trunk/tools/RosBE/RosBE-Unix/README Wed Jan 23 21:21:21 2008
@@ -53,6 +53,19 @@
package called "texinfo".
+Preparing the installation
+---------------------------
+ Under some operating systems, you need to perform additional steps before
+you can install the Build Environment. This section lists them.
+
+ * FreeBSD
+ - You have to create a symbolic link "/bin/bash", because FreeBSD
+ installs Bash to "/usr/local/bin/bash". Simply execute the following
+ command for doing this:
+
+ ln -s /usr/local/bin/bash /bin/bash
+
+
Installation
-------------
The Installation of RosBE is very simple, since there are scripts, which do
@@ -104,11 +117,14 @@
Tested Operating Systems
-------------------------
Although the Build Environment is designed to work on all Unix-based
-operating systems, I only tested it on the following systems:
+operating systems, it was only tested under the following systems:
* Debian GNU/Linux 4.0
+ * Fedora 8
* FreeBSD 6.2
- * Ubuntu 7.04
+ * Mac OS X 10.5
+ * openSUSE 10.2
+ * Ubuntu 7.04 and 7.10
You should be able to compile the build tools on both i386 (32-bit) and
x86_64 (64-bit) systems.
Modified: trunk/tools/RosBE/RosBE-Unix/README.odt
URL: http://svn.reactos.org/svn/reactos/trunk/tools/RosBE/RosBE-Unix/README.odt?…
==============================================================================
Binary files - no diff available.
Modified: trunk/tools/RosBE/RosBE-Unix/RosBE-Builder.sh
URL: http://svn.reactos.org/svn/reactos/trunk/tools/RosBE/RosBE-Unix/RosBE-Build…
==============================================================================
--- trunk/tools/RosBE/RosBE-Unix/RosBE-Builder.sh (original)
+++ trunk/tools/RosBE/RosBE-Unix/RosBE-Builder.sh Wed Jan 23 21:21:21 2008
@@ -1,14 +1,14 @@
#!/bin/bash
#
# RosBE-Builder
-# Copyright 2007 Colin Finck <mail(a)colinfinck.de>
+# Copyright 2007-2008 Colin Finck <mail(a)colinfinck.de>
# partially based on the BuildMingwCross script (http://www.mingw.org/MinGWiki/index.php/BuildMingwCross)
#
# Released under GNU GPL v2 or any later version.
# Constants
-ROSBE_VERSION="1.1-SVN"
-KNOWN_ROSBE_VERSIONS="0.3.6 1.1-SVN"
+ROSBE_VERSION="1.1"
+KNOWN_ROSBE_VERSIONS="0.3.6 1.1"
DEFAULT_INSTALL_DIR="/usr/RosBE"
NEEDED_TOOLS="bison flex gcc g++ grep makeinfo" # GNU Make has a special check
@@ -91,7 +91,7 @@
echo "* Builder Tool *"
echo "* by Colin Finck <mail(a)colinfinck.de> *"
echo "* *"
-echo "* Version $ROSBE_VERSION *"
+echo "* Version $ROSBE_VERSION *"
echo "*******************************************************************************"
echo
Modified: trunk/tools/RosBE/RosBE-Unix/scripts/RosBE.sh
URL: http://svn.reactos.org/svn/reactos/trunk/tools/RosBE/RosBE-Unix/scripts/Ros…
==============================================================================
--- trunk/tools/RosBE/RosBE-Unix/scripts/RosBE.sh (original)
+++ trunk/tools/RosBE/RosBE-Unix/scripts/RosBE.sh Wed Jan 23 21:21:21 2008
@@ -2,7 +2,7 @@
#
# Script for initializing RosBE
# Part of RosBE for Unix-based Operating Systems
-# Copyright 2007 Colin Finck <mail(a)colinfinck.de>
+# Copyright 2007-2008 Colin Finck <mail(a)colinfinck.de>
#
# Released under GNU GPL v2 or any later version.
@@ -35,7 +35,7 @@
echo "* ReactOS Build Environment for Unix-based Operating Systems *"
echo "* by Colin Finck <mail(a)colinfinck.de> *"
echo "* *"
-echo "* Version $ROSBE_VERSION *"
+echo "* Version $ROSBE_VERSION *"
echo "*******************************************************************************"
bash --rcfile "$_ROSSCRIPTDIR/RosBE-rc"
Author: peterw
Date: Wed Jan 23 20:54:10 2008
New Revision: 31963
URL: http://svn.reactos.org/svn/reactos?rev=31963&view=rev
Log:
- Grab the GCC target dynamically as well as the version so chdefgcc will work with mingw64, etc...
- Display the GCC target.
- Change the Bison/Flex errors to warnings.
Modified:
trunk/tools/RosBE/RosBE-Windows/Root/rosbe-gcc-env.cmd
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 (original)
+++ trunk/tools/RosBE/RosBE-Windows/Root/rosbe-gcc-env.cmd Wed Jan 23 20:54:10 2008
@@ -24,22 +24,26 @@
::
set PATH=%_ROSBE_MINGWPATH%\bin;%_ROSBE_ORIGINALPATH%
set _ROSBE_GCCVERSION=
+set _ROSBE_GCCTARGET=
for /f "usebackq tokens=3" %%i in (`"gcc -v 2>&1 | find "gcc version""`) do set _ROSBE_GCCVERSION=%%i
-set PATH=%_ROSBE_MINGWPATH%\bin;%_ROSBE_MINGWPATH%\libexec\gcc\mingw32\%_ROSBE_GCCVERSION%;%_ROSBE_ORIGINALPATH%
+for /f "usebackq tokens=2" %%i in (`"gcc -v 2>&1 | find "Target""`) do set _ROSBE_GCCTARGET=%%i
+set PATH=%_ROSBE_MINGWPATH%\bin;%_ROSBE_MINGWPATH%\libexec\gcc\%_ROSBE_GCCTARGET%\%_ROSBE_GCCVERSION%;%_ROSBE_ORIGINALPATH%
set _ROSBE_MINGWMAKE=%_ROSBE_MINGWPATH%\bin\mingw32-make.exe
if "%_ROSBE_MODE%" == "MinGW" (
- set C_INCLUDE_PATH=%_ROSBE_MINGWPATH%\include;%_ROSBE_MINGWPATH%\lib\gcc\mingw32\%_ROSBE_GCCVERSION%\include
- set CPLUS_INCLUDE_PATH=%_ROSBE_MINGWPATH%\include;%_ROSBE_MINGWPATH%\include\c++\%_ROSBE_GCCVERSION%;%_ROSBE_MINGWPATH%\include\c++\%_ROSBE_GCCVERSION%\mingw32;%_ROSBE_MINGWPATH%\lib\gcc\mingw32\%_ROSBE_GCCVERSION%\include
+ set C_INCLUDE_PATH=%_ROSBE_MINGWPATH%\include;%_ROSBE_MINGWPATH%\lib\gcc\%_ROSBE_GCCTARGET%\%_ROSBE_GCCVERSION%\include
+ set CPLUS_INCLUDE_PATH=%_ROSBE_MINGWPATH%\include;%_ROSBE_MINGWPATH%\include\c++\%_ROSBE_GCCVERSION%;%_ROSBE_MINGWPATH%\include\c++\%_ROSBE_GCCVERSION%\%_ROSBE_GCCTARGET%;%_ROSBE_MINGWPATH%\lib\gcc\%_ROSBE_GCCTARGET%\%_ROSBE_GCCVERSION%\include
) else (
- set HOST_CFLAGS=-I"%_ROSBE_MINGWPATH%\include" -I"%_ROSBE_MINGWPATH%\lib\gcc\mingw32\%_ROSBE_GCCVERSION%\include"
- set HOST_CPPFLAGS=-I"%_ROSBE_MINGWPATH%\include" -I"%_ROSBE_MINGWPATH%\include\c++\%_ROSBE_GCCVERSION%" -I"%_ROSBE_MINGWPATH%\include\c++\%_ROSBE_GCCVERSION%\mingw32" -I"%_ROSBE_MINGWPATH%\lib\gcc\mingw32\%_ROSBE_GCCVERSION%\include"
+ set HOST_CFLAGS=-I"%_ROSBE_MINGWPATH%\include" -I"%_ROSBE_MINGWPATH%\lib\gcc\%_ROSBE_GCCTARGET%\%_ROSBE_GCCVERSION%\include"
+ set HOST_CPPFLAGS=-I"%_ROSBE_MINGWPATH%\include" -I"%_ROSBE_MINGWPATH%\include\c++\%_ROSBE_GCCVERSION%" -I"%_ROSBE_MINGWPATH%\include\c++\%_ROSBE_GCCVERSION%\%_ROSBE_GCCTARGET%" -I"%_ROSBE_MINGWPATH%\lib\gcc\%_ROSBE_GCCTARGET%\%_ROSBE_GCCVERSION%\include"
)
-set LIBRARY_PATH=%_ROSBE_MINGWPATH%\lib;%_ROSBE_MINGWPATH%\lib\gcc\mingw32\%_ROSBE_GCCVERSION%
+set LIBRARY_PATH=%_ROSBE_MINGWPATH%\lib;%_ROSBE_MINGWPATH%\lib\gcc\%_ROSBE_GCCTARGET%\%_ROSBE_GCCVERSION%
::
:: Display the current version of GCC, NASM, ld and make.
::
gcc -v 2>&1 | find "gcc version"
+echo gcc target^: %_ROSBE_GCCTARGET%
+ld -v
if exist "%_ROSBE_MINGWPATH%\bin\nasm.exe" (
nasm -v
) else (
@@ -51,15 +55,14 @@
bison --version | find "GNU Bison"
) else (
if "%_ROSBE_MODE%" == "RosBE" (
- echo ERROR: Bison is required to build ReactOS, none found in the current MinGW/GCC.
+ echo WARNING: Bison will soon be required to build ReactOS, none found in the current MinGW/GCC.
)
)
if exist "%_ROSBE_MINGWPATH%\bin\flex.exe" (
flex --version
) else (
if "%_ROSBE_MODE%" == "RosBE" (
- echo ERROR: Flex is required to build ReactOS, none found in the current MinGW/GCC.
+ echo WARNING: Flex will soon be required to build ReactOS, none found in the current MinGW/GCC.
)
)
-ld -v
mingw32-make -v | find "GNU Make"