aboutsummaryrefslogtreecommitdiff
path: root/building.txt
blob: 0ac937044d0b4b6ababbe11f92a2f0a694fdcb63 (plain)
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
Prerequisits:
- Microsoft Visual C++ 2008 Express Edition with SP1 (http://www.microsoft.com/express/vc/)
- Perl (cygwin perl (http://www.cygwin.com/)  or activestate perl (http://www.activestate.com/activeperl/) )
- Python (2.5 used: http://www.python.org/)
- Gnuwin32 gawk and gzip (http://gnuwin32.sourceforge.net/)
  Copy gawk.exe to awk.exe
- Make sure python, perl, gzip and awk are in the environment PATH
- make sure the command prompt is set for compiling with the visual studio compiler (vcvars32.bat)

Building freetype:
- open freetype\freetype.sln in Visual C++ 2008 Express Edition
  Build configurations 'Release Multithreaded' and 'Debug Multithreaded'

Building openssl:
- run 'perl Configure VC-WIN32' in the openssl directory
- run 'ms\do_masm.bat' in the openssl' directory
- run 'nmake -f ms\nt.mak' in the openssl directory
- run 'nmake DEBUG=1 -f ms\nt.mak' in the openssl directory (if you want to build the DEBUG version of vcxsrv)

Building pthreads:
- goto pthreads directory
- run 'nmake VC-static'
- run 'nmake VC-static-debug'

Building vcxsrv:
- run 'mhmake MAKESERVER=1' in xorg-server directory
- run 'mhmake DEBUG=1 MAKESERVER=1' in xorg-server directory for a debugable version
- run 'mhmake' in bdftopcf
- run 'mhame' in xorg-server\fonts.src to build the fonts directory
- run 'mhmake' in xorg-server\xkbdata.src to build the keyboard data

Building xlaunch:
- run 'mhmake' in 'xorg-server\hw\xwin\xlaunch'
- run 'mhmake DEBUG=1' in 'xorg-server\hw\xwin\xlaunch' if you want a debugable version.

To build installer:
- install http://nsis.sourceforge.net
- run 'packageall.bat' in xorg-server\installer