diff options
author | David Daoust | 2004-05-07 17:50:44 +0000 |
---|---|---|
committer | David Daoust | 2004-05-07 17:50:44 +0000 |
commit | eca3f0633f1d446b433b1e8eec8b5f877ceed690 (patch) | |
tree | ac4c1c04d75dda0c5c5e99b2776dcc443f1311ae /doc/org.eclipse.cdt.doc.user/getting_started/cdt_o_tutorial.htm | |
parent | 2f19221ac04b46edbb24346da5bb9045dbf41b0f (diff) | |
download | org.eclipse.cdt-eca3f0633f1d446b433b1e8eec8b5f877ceed690.tar.gz org.eclipse.cdt-eca3f0633f1d446b433b1e8eec8b5f877ceed690.tar.xz org.eclipse.cdt-eca3f0633f1d446b433b1e8eec8b5f877ceed690.zip |
From Dave Williams: Doc patch to fix link errors in the tutorial sections.
Diffstat (limited to 'doc/org.eclipse.cdt.doc.user/getting_started/cdt_o_tutorial.htm')
-rw-r--r-- | doc/org.eclipse.cdt.doc.user/getting_started/cdt_o_tutorial.htm | 77 |
1 files changed, 77 insertions, 0 deletions
diff --git a/doc/org.eclipse.cdt.doc.user/getting_started/cdt_o_tutorial.htm b/doc/org.eclipse.cdt.doc.user/getting_started/cdt_o_tutorial.htm new file mode 100644 index 00000000000..8ab04d4d5f3 --- /dev/null +++ b/doc/org.eclipse.cdt.doc.user/getting_started/cdt_o_tutorial.htm @@ -0,0 +1,77 @@ +<!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>Tutorial</title> + <link rel="stylesheet" type="text/css" href="../help.css"> +</head> +<body> +<h1>Tutorial</h1> +<p>This tutorial guides you through the process of using the C/C++ Development Toolkit (CDT) to create a HelloWorld project on a Windows platform.</p> +<h2>Before you begin</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 at a command prompt and enter <tt>PATH</tt>. Make sure that the path to your build utility is defined (example <tt>PATH=c:\cygwin\bin</tt>).<p> + +<table border="1" cellpadding="5" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="508"> + <tr> + <th align="left" valign="bottom" width="279">To</th> + <th align="left" width="206">See</th> + </tr> + <tr> + <td align="left" width="279">Create, name, and specify the location of your + project</td> + <td align="left" width="206"><a href="cdt_w_newproj.htm">Creating your project</a></td> + </tr> + <tr> + <td align="left" width="279">Create, name, and save your CPP file</td> + <td align="left" width="206"><a href="cdt_w_newcpp.htm">Creating your C++ + file</a></td> + </tr> + <tr> + <td align="left" width="279">Create, name, and save your gnu <tt>makefile</tt></td> + <td align="left" width="206"><a href="cdt_w_newmake.htm">Creating your makefile</a></td> + </tr> + <tr> + <td align="left" width="279">Build your project</td> + <td align="left" width="206"><a href="cdt_w_build.htm">Building your project</a></td> + </tr> + <tr> + <td align="left" width="279">Create a debug configuration and debug + your project</td> + <td align="left" width="206"><a href="cdt_w_debug.htm">Debugging your project</a></td> + </tr> + <tr> + <td align="left" width="334">Recommended approaches for dealing with source + files and files systems that were created outside of Eclipse</td> + <td align="left" width="110"><a href="../getting_started/cdt_w_existing_code.htm">How to bring + C/C++ source into Eclipse</a></td> + </tr> +</table> + +<p> </p> +<p><a href="cdt_w_newmake.htm" style="text-decoration: none"> <img border="0" src="../images/ngnext.gif" width="16" height="16"></a> + <b><a href="cdt_w_newproj.htm">Start Tutorial: Creating your project</a> </b> +</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> +<p><img src="../images/ng2003.gif" ALT="IBM Copyright Statement" BORDER=0 width="324" height="14"> +</p> +</body> + +</html>
\ No newline at end of file |