-
Notifications
You must be signed in to change notification settings - Fork 40
/
INSTALL.win32
59 lines (39 loc) · 1.95 KB
/
INSTALL.win32
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
Installing rock in a Win32 environment is a little trickier
than in a *nix system.
What you need
--------------
* MinGW + MSYS (Cygwin should work too - haven't tested) - http://www.mingw.org/
* GCC 4.4 or better - http://sourceforge.net/projects/mingw/files/
Please double-check your GCC version is 4.4 or better by
running 'gcc -v' from your MSYS installation.
Installing
----------
You have a -source release
~~~~~~~~~~~~~~~~~~~~~~~~~~
'make bootstrap' should work fine for you. If it doesn't, your mingw/GCC
setup is probably messed up. You can always seek for help on IRC (see README)
You have a binary release (e.g. rock-X.X.X-win32, etc.)
~~~~~~~~~~~~~~~~~~~~~~~~~
In that case you should already have a working bin\rock.exe
Getting comfortable
~~~~~~~~~~~~~~~~~~~
You probably want to add C:\mingw\rock-0.9.1\bin (or wherever you
extracted rock) to your PATH. Here's how to do it:
* From the desktop, right-click My Computer and click Properties.
* In the System Properties window, click on the Advanced tab.
* In the Advanced section, click the Environment Variables button.
* Finally, in the Environment Variables window (as shown below),
highlight the Path variable in the Systems Variable section
and click the Edit button. Add or modify the path lines with
the paths you wish the computer to access. Each different
directory is separated with a semicolon as shown below.
C:\Program Files;C:\Winnt;C:\Winnt\System32
You should close/reopen an MSYS shell after changing your PATH.
Then typing "rock -V" should display your version of rock =) Enjoy!
Goodies
-------
* GDB 7.1+ for debugging - http://www.gnu.org/software/gdb/
* TinyCC has Win32 binary builds these days, it's a nice small
and *fast* C compiler that almosts supports C99 - http://bellard.org/tcc/
* Git http://code.google.com/p/msysgit/ - if you plan to share
your code on GitHub or just stay on the bleeding edge for rock progress