Update README.md
[deliverable/titan.core.git] / README.mingw
1 ******************************************************************************
2 * Copyright (c) 2000-2015 Ericsson Telecom AB
3 * All rights reserved. This program and the accompanying materials
4 * are made available under the terms of the Eclipse Public License v1.0
5 * which accompanies this distribution, and is available at
6 * http://www.eclipse.org/legal/epl-v10.html
7 ******************************************************************************
8
9 MinGW setup
10
11 (A) Download the MinGW installer from the MinGW site:
12 http://www.mingw.org/
13
14 (B) Follow the install steps found on the MinGW getting started page:
15 http://www.mingw.org/wiki/getting_started
16 Select the mingw-gcc-v3 packages because Titan only compiles
17 with older gcc. If you select the gcc4 packages, then the make process
18 stops immediately with some error messages. Select the msys packages too.
19
20 (C) Check the PATH system variable:
21 System -> Advanced system settings -> Environment Variables -> Path
22 The MinGW installation path must be present to use the installed
23 executables and files. For example:
24 echo %PATH%
25 C:\MinGW\bin;C:\MinGW\usr\bin...
26
27 (D) Working environment:
28 Use the <Install folder>\msys\<version>\msys.bat file to start a shell.
29 Download and extract the Titan source files and folders to a directory,
30 and create a Makefile.personal in the top directory. Please check the
31 installation guide and set all the needed variables like TTCN3_DIR. The
32 MinGW compilation needs a few extra changes in the Makefile.cfg also. Set
33 the PLATFORM and MINGW values:
34 PLATFORM := WIN32
35 MINGW := -DMINGW -mno-cygwin
36
37 (E) Compile Titan:
38 cd titan
39 make -j
40 make install
41 The compiled files will be placed into the ./Install directory.
42
43 (F) If the build process stops with a Windows error message saying that some files
44 are missing, search for the indicated Cygwin package and download it from the Cygwin page.
45 You can search fast and easily with the Cygwin Package Search tool:
46 https://cygwin.com/cgi-bin2/package-grep.cgi
47 Extract the downloaded package into the MinGW installation directory, and
48 restart the build process.
This page took 0.031845 seconds and 5 git commands to generate.