Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: 436eb5f2f68bb92ac2191b08ab1466cd0752a258 (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
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<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>Before you begin</h1>

<h2>Utilities</h2>
<p>You must install and configure the following utilities:</p>
<ul>
  <li>Build (such as <tt>make</tt>).</li>
  <li>Compile (such as gcc). For more information, see <a href="http://gcc.gnu.org">http://gcc.gnu.org</a>.</li>
  <li>Debug (such as gdb). For more information, see <a href="http://sources.redhat.com/gdb/">http://sources.redhat.com/gdb/</a>.</li>
</ul>

<p><b>Tip:</b> Cygwin contains these utilities for a Windows environment. 
  For more information, see <a href="http://www.cygwin.com">http://www.cygwin.com</a>. 
</p>
<p>To test if cygwin was installed correctly open a command prompt and type <tt>g++</tt> or <tt>make</tt>.</p>

<p>The following error message means that no <tt>make</tt> is installed or your path is not configured correctly.</p>  
<pre>'g++' (or 'make') is not recognized as an internal or external command, operable program or batch file</pre> 
<p>To check your path open a command prompt and type <tt>PATH</tt>.  Make sure that the path to your build utility is defined (example <tt>PATH=c:\cygwin\bin</tt>).<p>

<h2>Build Automatically</h2>

<p>For C/C++ projects this feature should be turned off, otherwise builds will be performed whenever a file is saved, including makefiles and header files.  </p>
<p>Click <b>Projects</b> from the menubar and ensure there is no checkmark beside <b>Build Automatically</b> if there is one click <b>Build Automatically</b> to deselect it. </p>


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

</html>

Back to the top