ReactOS-0.3.1 : HOWTO/setup a build environment for Linux/Ubuntu v5.x

HOWTO/setup a build environment for ReactOSfor Linux/Ubuntu v5.xFrom ReactOS Contents []

[edit] Required Packages
  • universe/devel/mingw32 (Debian: devel/mingw32)
  • universe/devel/mingw32-binutils (Debian: devel/mingw32-binutils)
  • universe/devel/mingw32-runtime (Debian: devel/mingw32-runtime)
  • devel/nasm
  • devel/subversion
[edit] Installation

Type the following into a terminal to install the required packages

sudo apt-get install subversion nasm mingw32 mingw32-binutils mingw32-runtime
Password: …

Now to create somewhere to put the source. (this can be anywhere)

mkdir ~/ros-src
cd ~/ros-src
[edit] Subversion (SVN)

Issue the following command to check out the latest source code revision from the SVN repository.

svn co svn://svn.reactos.org/reactos/trunk/reactos/

For more information about getting the ReactOS source code via SVN you can have a look at the Subversion wiki page or the official SVN Book

[edit] Compiling

Enter the reactos sub-directory created by svn co and start the compilation process.

cd ~/ros-src/reactos/
export ROS_PREFIX="i586-mingw32msvc"
make

The ROS_PREFIX is used to define that we want to use i586-mingw32msvc-gcc (creates win32 binaries) as the compiler instead of gcc (creates native binaries).

For more indepth look at the make options have a look at the Building ReactOS wiki page or open up ~/ros-src/reactos/Makefile in a text editor and read the note at the top.


We can download the deb package under Ubuntu/Debian, and use tool "alien" to convert them into rpm packages, which can be installed under Fedora6.

(main package : nasm mingw32 mingw32-binutils mingw32-runtime)