login to root
su
enter password( if asked )
emerge xmingw-binutils xmingw-w32api xmingw-runtime xmingw-gcc subversion
all required dependencies will/should be installed,
xmingw-gcc needs to be installed after the other xmingw packages for g++ support
exit
versions I installed (if you have problems with other versions)
* dev-util/xmingw-binutils
Latest version installed: 2.15.90.0.2
* dev-util/xmingw-gcc
Latest version installed: 3.4.2
* dev-util/xmingw-runtime
Latest version installed: 3.5
* dev-util/xmingw-w32api
Latest version installed: 3.1
* dev-util/subversion (this is svn)
Latest version installed: 1.1.2
cd ~/
mkdir ros
cd ros
svn co svn://svn.reactos.com/trunk/reactos
edit reactos/rules.mak
run
Code: Select all
export PATH=${PATH}:/opt/xmingw/bin:/opt/xmingw/i386-xmingw32msvc
Code: Select all
HOST=mingw32-linux
ifeq ($(HOST),mingw32-linux)
export NASM_FORMAT = win32
export PREFIX = mingw32-
to this
ifeq ($(HOST),mingw32-linux)
export NASM_FORMAT = win32
export PREFIX = i386-mingw32msvc-
cd ~/ros/reactos
edit config to suit your needs (self explanitory)
make
hopefully, it should build succesfully
If I forgot something, or something changed let me know or feel free to add below
edit: fixed more stupid mistakes