aboutsummaryrefslogtreecommitdiff
path: root/building.txt
diff options
context:
space:
mode:
Diffstat (limited to 'building.txt')
-rw-r--r--building.txt48
1 files changed, 48 insertions, 0 deletions
diff --git a/building.txt b/building.txt
new file mode 100644
index 000000000..b5a979b3c
--- /dev/null
+++ b/building.txt
@@ -0,0 +1,48 @@
+Prerequisits:
+- Microsoft Visual C++ 2008 Express Edition with SP1 (http://www.microsoft.com/express/vc/)
+- Perl (cygwin perl (http://www.cygwin.com/), strawberry perl (http://strawberryperl.com) or activestate perl (http://www.activestate.com/activeperl/) )
+- Python (2.5 used: http://www.python.org/)
+- Gnuwin32 gawk, gzip, flex, bison (and it's dependancies), sed (and it's dependancies (http://gnuwin32.sourceforge.net/)
+- Make sure that the gnuwin32 binaries are in a directory path with no spaces, like 'C:\gnuwin32\bin'
+- Make sure the environment PATH includes the directory where the gnuwin32 binaries are
+- Make sure python, perl are in the environment PATH
+- make sure the command prompt is set for compiling with the visual studio compiler (vcvars32.bat)
+
+When you want to use the tools/cleantree.py script, also install svn command line client:
+- Download/install a command line version of svn. http://www.sliksvn.com/en/download (other versions are fine too).
+- Make sure that the directory where the svn.exe file is, is added to the System PATH
+
+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 mhmake
+- open tools\mhmake\mhmake.sln in Visual C++ 2008 Express Edition
+- Build the Debug and Release configurations
+- Copy Debug\mhmake_dbg.exe and Release\mhmake.exe to a directory in your environment PATH
+
+Add an environment variable named MHMAKECONF having as value the root directory of the sources.
+e.g.: set MHMAKECONF=c:\vcxsrv\trunk
+
+Building vcxsrv:
+- run 'mhmake MAKESERVER=1' in xorg-server directory. Currently you will get an error at the end saying it cannot find vcxsrv_dbg.lib.
+ To solve this, rerun this command after executing the next command
+- run 'mhmake DEBUG=1 MAKESERVER=1' in xorg-server directory for a debugable version
+
+To build installer:
+- install http://nsis.sourceforge.net
+- run 'packageall.bat' in xorg-server\installer
+
+To clean the project tree (uses svn) go to the top directory at a command prompt and type in 'python tools\cleantree.py -r'
+