Skip to main content
summaryrefslogtreecommitdiffstats
blob: a8a815118daf6a915b422261257d9c0147dd8ef0 (plain) (blame)
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
59
60
61
62
63
64
65
66
67
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">

<html lang="en">
<head>
	<meta http-equiv="Content-Language" content="en-us">
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
	<title>Before you begin</title>
	<link rel="stylesheet" type="text/css" href="../help.css">
</head>
<body>
<h1 role="main">Before you begin</h1>

<p>Depending on how you obtained the CDT, you might have also received
a toolchain with a built-in CDT integration.
However, if you downloaded the CDT from the Eclipse repository, then you will require a toolchain before
you can build and debug any projects.</p>

<p>The standard CDT supports integration with the GNU toolchain.
This includes GNU's make, gcc compiler, and gdb debugger utilities.
If you require a toolchain to build software for your development host, this
is the best choice to get started.

<p>Each platform that runs the CDT requires different steps to acquire this toolchain.</p>

<h2>Windows</h2>
<p>For windows, MinGW and Cygwin are the two main platform choices for acquiring the GNU toolchain.
It is important to understand the difference between them.
Cygwin produces executables that use the Cygwin POSIX runtime. Note that this runtime is GPL licensed.
MinGW produces native Windows executables that do not require a separate runtime.</p>
<ul>
<li><p>For <strong>MinGW</strong>, the recommended method to get the toolchain is to install it
from the Wascana project at Eclipse Labs,
<a href="http://www.eclipselabs.org/p/wascana">http://www.eclipselabs.org/p/wascana</a>.
Wascana includes the MinGW toolchain as well as a number of open source libraries that can be used
for Windows development.
See the Wascana site for installation instructions.</p><br>
<p>As an alternative, the MinGW site itself, <a href="http://www.mingw.org">http://www.mingw.org</a>
also has an installer. The CDT will find that install if it is placed in the default C:\MinGW
directory.</p><br></li>
<li><p><strong>Cygwin</strong> can be install from the Cygwin site at
<a href="http://www.cygwin.com">http://www.cygwin.com</a>. You need to manually select
the gcc, gdb, and make packages to install the toolchain.</p></li>
</ul>

<h2>Linux</h2>
<p>All Linux distributions include the GNU toolchain. They may not, however, be installed by default.
For instructions about installing the GNU toolchain for Linux, see the instructions for your particular distribution.</p>

<h2>Mac OS X</h2>
The CDT supports the Apple GNU toolchain that is included in with the Xcode IDE. It can be downloaded
from the Apple's developer site, <a href="http://developer.apple.com/">http://developer.apple.com</a>

<h2>Other Platforms</h2>
<p>The GNU toolchain is supported on all platforms that the CDT supports. For instructions about installing the GNU toolchain
on your platform, see your platform vendor.</p>

<p> <img src="../images/ngref.gif" ALT="Related reference" width="143" height="21">  <br>
  <a href="../concepts/cdt_o_home.htm">CDT Home</a><br>
  
<p> <img src="../images/ngtasks.gif" ALT="Related tasks"> <br>
  <a href="../tasks/cdt_t_manualbuild.htm">Building Manually</a>
</p>
<p><img src="../images/ng00_04a.gif" ALT="QNX Copyright Statement" > 
</p>
</body>

</html>

Back to the top