-
Notifications
You must be signed in to change notification settings - Fork 2
Building from source on windows with mingw
MinGW is a minimalistic tool for building software in a UNIX/Linux style. You can download it here.
When you install MinGW, select at least:
- C compiler
- MSYS basic system
- MinGW developer toolkit
Usually MinGW install itself in C:\MinGW , go inside C:\MinGW\msys\1.0, launch msys.bat. This procedure will create a home folder.
Now you can download all files as a ZIP archive from here or using git:
git clone https://github.com/rebol/r3.git
to build Rebol 3 you need Rebol 3: download it from http://www.rebol.com/r3/downloads.html .
- Put the rebol3 binary in the make directory,
- rename it to r3-make,
copy all r3 directory inside the *C:\MinGW\msys\1.0\home* directory and launch the msys.bat file once again. You should see a similar console:
Now digit the following commands in MinGW console:
cp -r ../r3 ./
cd r3/make/
make make OS_ID=0.3.1
make prep
make
(or make view
)
cp r3.exe ../../../
Finished! You obtained the r3.exe binary inside the home folder (probably C:\MinGW\msys\1.0\home).