<html> | |
<head> | |
<title>NetBeans C/C++ Development Pack 5.5.1 update 1 Installation and Setup Instructions</title> | |
<meta name="DESCRIPTION" content="NetBeans C/C++ Development Pack 5.5.1 update 1 Installation and Setup Instructions"> | |
</head> | |
<body> | |
<div id="contentLeft"> | |
<!-- Begin Content Area --> | |
<a name="top"></a> | |
<h1>NetBeans™ C/C++ Development Pack 5.5.1 update 1 Installation and Setup Instructions</h1> | |
<p><b>Contents</b> | |
<ul> | |
<li><a href="#prerequisities" title="Prerequisites">Prerequisites</a></li> | |
<li><a href="#installation" title="Installing the Software">Installing the | |
Software</a> | |
<div> | |
<ul> | |
<li><a href="#install_windows" title="Windows">Windows</a></li> | |
<li><a href="#install_solaris" title="Solaris">Solaris™ OS</a></li> | |
<li><a href="#install_linux" title="Linux">Linux</a></li> | |
<li><a href="#install_mac" title="Macintosh OS X">Macintosh OS X</a></li> | |
</ul> | |
</div></li> | |
<li><a href="#compilers" title="Installing and Setting Up the Compilers and | |
Tools">Installing and Setting Up the Compilers and Tools</a> | |
<div> | |
<ul> | |
<li><a href="#compilers_windows" title="Windows">Windows</a></li> | |
<li><a href="#compilers_solaris" title="Solaris OS">Solaris OS</a></li> | |
<li><a href="#compilers_linux" title="Linux">Linux</a></li> | |
<li><a href="#compilers_mac" title="Macintosh OS X">Macintosh OS X</a></li> | |
</ul> | |
</div></li> | |
<li><a href="#verifying" title="Verifying the Installation">Verifying the | |
Installation</a> | |
<div> | |
<ul> | |
<li><a href="#verify_windows" title="Windows">Windows</a></li> | |
<li><a href="#verify_solaris" title="Solaris OS">Solaris OS</a></li> | |
<li><a href="#verify_linux" title="Linux">Linux</a></li> | |
<li><a href="#verify_mac" title="Macintosh OS X">Macintosh OS X</a></li> | |
</ul> | |
</div></li> | |
<li><a href="#uninstallation" title="Uninstalling the Software">Uninstalling | |
the Software</a> | |
<div> | |
<ul> | |
<li><a href="#uninstall_windows" title="Windows">Windows</a></li> | |
<li><a href="#uninstall_sollinux" title="Solaris OS, Linux">Solaris OS, Linux</a></li> | |
<li><a href="#uninstall_mac" title="Macintosh OS X">Macintosh OS X</a></li> | |
</ul> | |
</div></li> | |
</ul> | |
<br> | |
<!-- PREREQUISITES -------------------------------------------------------> | |
<h2><a name="prerequisites"></a>Prerequisites</h2> | |
<p>The following software must be installed before you attempt to install | |
NetBeans C/C++ Development Pack 5.5.1 update 1:</p> | |
<ul> | |
<li>NetBeans IDE 5.5.1 or NetBeans IDE 5.5 | |
<br><br></li> | |
<li>JDK 5.0 or JDK 6.0 must be | |
installed on your system. If you do not have an installation | |
of one of these JDK versions, you cannot proceed | |
with the installation. For details, see the | |
<a href="cnd-release-notes.html#req_sw">Required Software</a> topic in the <a | |
href="cnd-release-notes.html" title="Release Notes">Release Notes</a>.<br><br> | |
</ul> | |
</ul> | |
<!-- | |
<h2 style="color: rgb(14, 27, 85);">Firewall Applications</h2> | |
<p>Enabled firewall applications can prevent some components from being | |
configured correctly during the installation process. Disable any firewall | |
applications before you start the installation.</p> | |
--> | |
</blockquote> | |
<br> | |
<p align="center"><a href="#top">top</a></p> | |
<br> | |
<!-- INSTALLATION --------------------------------------------------------> | |
<h2><a name="installation"></a>Installing the Software</h2> | |
<p>This section contains instructions for installing the NetBeans C/C++ | |
Development Pack on all supported platforms.</p> | |
<!-- INSTALLATION: WINDOWS ----------------------------------> | |
<blockquote> | |
<h2 style="color:#0E1B55"><a name="install_windows"></a>Windows</h2> | |
<p>Following are instructions for installing NetBeans C/C++ Development | |
Pack on the Microsoft Windows platform.</p> | |
<blockquote> | |
<p><b>Before You Start</b></p> | |
<p>The following restrictions apply to the installation on the Microsoft | |
Windows platform:</p> | |
<ul> | |
<li>The installer first extracts the required files to the default temporary | |
directory defined by the <tt>TEMP</tt> | |
environment variable. If the amount of disk space in the temporary directory | |
is less than required, the installation might fail or proceed incorrectly.<br> | |
If you encounter this problem, you can increase the space allocated for the | |
<tt>TEMP</tt> environment variable or specify a different temporary directory | |
that has sufficient space. To specify a temporary directory for the | |
installation, use the following commands from a command window:<br> | |
<br> | |
<tt>> cd <i>location-of-installer</i></tt><br> | |
<tt>> netbeans-c++-5_5_1_u1-windows.exe -is:tempdir <i>temporary-directory</i></tt><br> | |
</li> | |
</ul> | |
<p><b>To Install</b></p> | |
<ol> | |
<li>When you have downloaded the installer file, | |
<tt>netbeans-c++-5_5_1_u1-windows.exe</tt>, | |
double-click the installer's icon to launch the installer.</li> | |
<br> | |
<li>At the Welcome page of the installation wizard, click Next.</li> | |
<br> | |
<li>Respond to the license agreement and click Next.</li> | |
<br> | |
<li>At the installation directory page of the installation wizard, | |
accept the NetBeans IDE directory found by the wizard or select a different | |
IDE installation. Click Next.</li> | |
<br> | |
<li>Verify that the installation location is correct and that you have | |
adequate space on your system for the installation.</li> | |
<br> | |
<li>Click Next to begin the installation. </li> | |
<br> | |
<li>When the installation is complete, click Finish to exit the wizard.</li> | |
</ol> | |
<br><br> | |
</blockquote> | |
<p align="center"><a href="#top">top</a></p> | |
<!-- INSTALLATION: SOLARIS OS ----------------------------------> | |
<h2 style="color:#0E1B55"><a name="install_solaris"></a>Solaris™ OS</h2> | |
Following are instructions for installing NetBeans C/C++ Development Pack on | |
the Solaris OS platform.</p> | |
<p> | |
In the instructions below, replace <i>your_binary_executable</i> with one of | |
the following: | |
<ul> | |
<li>Solaris™ OS, SPARC®: <tt>netbeans-c++-5_5_1_u1-solaris-sparc.bin</tt></li> | |
<li>Solaris™ OS, x86/x64 Platform Edition: | |
<tt>netbeans-c++-5_5_1_u1-solaris-x86.bin</tt></li> | |
</ul> | |
<blockquote> | |
<p><b>To Install</b></p> | |
<ol> | |
<li>When you have downloaded the installer file, | |
<tt><i>your_binary_executable</i></tt>, navigate to the directory that | |
contains the file. </li> | |
<br> | |
<li>If necessary, change the permissions on the installer file to make | |
the binary executable by using the command shown below at a command prompt. | |
<pre> | |
$ chmod +x <i>your_binary_executable</i><br> | |
</pre> | |
</li> | |
<li>Launch the installer by using the command shown below at a command | |
prompt. | |
<pre> | |
$ ./<i>your_binary_executable</i><br> | |
</pre> | |
</li> | |
<li>At the Welcome page of the installation wizard, click Next.</li> | |
<br> | |
<li>Respond to the license agreement and click Next.</li> | |
<br> | |
<li>At the installation directory page of the installation wizard, accept the | |
NetBeans IDE directory found by the wizard or select a different IDE | |
installation. Click Next.</li> | |
<br> | |
<li>Verify that the installation location is correct and that you have | |
adequate space on your system for the installation.</li> | |
<br> | |
<li>Click Next to begin the installation. </li> | |
<br> | |
<li>When the installation is complete, click Finish to exit the wizard.</li> | |
</ol> | |
<br><br> | |
</blockquote> | |
<p align="center"><a href="#top">top</a></p> | |
<br> | |
<!-- INSTALLATION: LINUX ----------------------------------> | |
<h2 style="color:#0E1B55"><a name="install_linux"></a>Linux</h2> | |
<p>Following are instructions for installing the NetBeans C/C++ Development | |
Pack on Linux platforms.</p> | |
<blockquote> | |
<p><b>To Install</b></p> | |
<ol> | |
<li>When you have downloaded the installer file, | |
<tt>netbeans-c++-5_5_1_u1-linux.bin</tt>, navigate to the directory that | |
contains the file. </li> | |
<br> | |
<li>If necessary, change the permissions on the installer file to make | |
the binary executable by using the command shown below at a command prompt. | |
<pre> | |
$ chmod +x netbeans-c++-5_5_1_u1-linux.bin<br> | |
</pre> | |
</li> | |
<li>Launch the installer by using the command shown below at a command | |
prompt. | |
<pre> | |
$ ./netbeans-c++-5_5_1_u1-linux.bin<br> | |
</pre> | |
</li> | |
<li>At the Welcome page of the installation wizard, click Next.</li> | |
<br> | |
<li>Respond to the license agreement and click Next.</li> | |
<br> | |
<li>At the installation directory page of the installation wizard, accept the | |
NetBeans IDE directory found by the wizard or select a different IDE | |
installation. Click Next.</li> | |
<br> | |
<li>Verify that the installation location is correct and that you have | |
adequate space on your system for the installation.</li> | |
<br> | |
<li>Click Next to begin the installation. </li> | |
<br> | |
<li>When the installation is complete, click Finish to exit the wizard.</li> | |
</ol> | |
<br><br> | |
</blockquote> | |
<p align="center"><a href="#top">top</a></p> | |
<!-- INSTALLATION: MAC OS X ------------------------------------> | |
<h2 style="color:#0E1B55"><a name="install_mac"></a>Macintosh OS X</h2> | |
Following are instructions for installing NetBeans C/C++ Development Pack on | |
the Macintosh OS X platform.</p> | |
<blockquote> | |
<p><b>To Install</b></p> | |
<ol> | |
<li>When you have downloaded the installer file, | |
<tt>netbeans-c++-5_5_1_u1-mac.jar</tt>, | |
double-click the installer's icon to launch the installer.</li> | |
<br> | |
<li>At the Welcome page of the installation wizard, click Next.</li> | |
<br> | |
<li>Respond to the license agreement and click Next.</li> | |
<br> | |
<li>At the installation directory page of the installation wizard, | |
accept the NetBeans IDE directory found by the wizard or select a different | |
IDE installation. Click Next.</li> | |
<br> | |
<li>Verify that the installation location is correct and that you have | |
adequate space on your system for the installation.</li> | |
<br> | |
<li>Click Next to begin the installation. </li> | |
<br> | |
<li>When the installation is complete, click Finish to exit the wizard.</li> | |
</ol> | |
<br><br> | |
</blockquote> | |
</blockquote> | |
<p align="center"><a href="#top">top</a></p> | |
<br> | |
<!-- COMPILER SETUP -------------------------------------------------------> | |
<h2><a name="compilers">Installing and Setting Up the Compilers and Tools</a></h2> | |
<p>Netbeans C/C++ Development Pack requires a C compiler, C++ compiler, | |
<tt>make</tt> utility, and <tt>gdb</tt> debugger. | |
</p> | |
<!-- COMPILER SETUP: WINDOWS ----------------------------------------------> | |
<blockquote> | |
<h2 style="color:#0E1B55"><a name="compilers_windows"></a>Windows</h2> | |
<p>NetBeans C/C++ Development Pack has been tested with the following compilers | |
and tools: | |
<ul> | |
<li>Cygwin 1.5.21</li> | |
<li>Cygwin gcc-core (C compiler) 3.4.x</li> | |
<li>Cygwin gcc-c++ (C++ compiler) 3.4.x</li> | |
<li>Cygwin gdb (GNU Debugger) 6.5.50</li> | |
<li>Cygwin make 3.80</li> | |
</ul> | |
</p> | |
<p>If you already have the Cygwin GNU compilers, GNU <tt>make</tt>, and | |
<tt>gdb</tt> debugger installed on your Windows system and | |
your path is set up correctly to find them, make sure that you have the | |
correct versions. If you have the correct versions, then no further setup is | |
necessary. | |
</p> | |
<blockquote> | |
<p><b>To check the versions of your Cygwin compilers and tools:</b> | |
<ol> | |
<li> | |
<p>Check the version of Cygwin by typing: | |
<pre> | |
cygcheck -c cygwin | |
</pre> | |
</li> | |
<li>Check the versions of the compilers, <tt>make</tt>, and <tt>gdb</tt> by | |
typing: | |
<pre> | |
gcc --version | |
g++ --version | |
make --version | |
gdb --version | |
</pre> | |
</li> | |
</ol> | |
<p><b>To install the GNU compilers, <tt>make</tt>, and <tt>gdb</tt> debugger from | |
<a href="http://cygwin.com">cygwin.com</a>:</b></p> | |
<ol> | |
<li>Download the Cygwin <a href="http://www.cygwin.com/setup.exe"> | |
<tt>setup.exe</tt></a> program by clicking the Install or Update Now! | |
icon in the middle of the page. | |
</li> | |
<br> | |
<li> | |
Run the <tt>setup.exe</tt> program. Accept the defaults until you reach | |
the Select Your Internet Connection page. Select the option on this | |
page that is best for you. Click Next. | |
</li> | |
<br> | |
<li> | |
On the Choose Download Site page, choose a download site you think | |
might be relatively close to you. Click Next. | |
</li> | |
<br> | |
<li> | |
On the Select Packages page you select the packages to download. Click | |
the + next to Devel to expand the development tools category. You may | |
want to resize the window so you can see more of it at one time. | |
</li> | |
<br><li> | |
Select each package you want to download by clicking the Skip label | |
next to it. At a minimum, select gcc-core: C compiler, | |
gcc-g++: C++ compiler, gdb: The GNU Debugger, and make: the GNU | |
version of the 'make' utility. | |
</li> | |
<br> | |
<li> | |
Now add the Compiler directory to your path: | |
<br><br> | |
<ol type="a"> | |
<li>Open the Control Panel (Start > Settings > Control Panel) and | |
double-click the System program.</li> | |
<br> | |
<li>Select the Advanced tab and click Environment Variables.</li> | |
<br> | |
<li>In the System Variables panel of the Environment Variables dialog, | |
select the <tt>Path</tt> variable and | |
click Edit.</li> | |
<br> | |
<li>Add the path to the | |
<tt><i>cygwin-directory</i>\bin</tt> directory to the <tt>Path</tt> variable, and | |
click OK. By default, <tt><i>cygwin-directory</i></tt> is | |
<tt>C:\cygwin</tt>. Directory names must be separated with a semicolon.</li> | |
<br> | |
<li>Click OK in the Environment Variables dialog and the System | |
Properties dialog. | |
</li> | |
</ol> | |
</li> | |
</ol> | |
</blockquote> | |
<br><p align="center"><a href="#top">top</a></p> | |
<br> | |
<!-- COMPILER SETUP: SOLARIS OS --------------------------------> | |
<h2 style="color:#0E1B55"><a name="compilers_solaris"></a>Solaris OS</h2> | |
<p> | |
NetBeans C/C++ Development Pack has been tested with the following compilers | |
and tools: | |
<ul> | |
<li>Sun Studio 12 C compiler 5.9 and gcc 3.4.3</li> | |
<li>Sun Studio 12 C++ compiler 5.9 and g++ 3.4.3</li> | |
<li>gdb (GNU debugger) 6.2.1</li> | |
<li>Solaris make and gmake 3.80</li> | |
</ul> | |
<h3>Sun Studio 12 Compilers</h3> | |
<p>If you want to use the Sun Studio 12 compilers: | |
<ul> | |
<li>If you | |
have Sun Studio 12 software installed, ensure that <tt>/<i>installation | |
directory</i>/bin</tt> | |
is in your path before you start the NetBeans IDE.</li> | |
<li> | |
If you do not have Sun Studio 12 software installed, you can | |
download it free at <a href="http://developers.sun.com/sunstudio/downloads/"> | |
<tt>http://developers.sun.com/sunstudio/downloads/</tt></a>. | |
</li> | |
</ul> | |
</p> | |
<blockquote> | |
<p><b>To download and install the Sun Studio 12 compilers:</b></p> | |
<ol> | |
<li>Create a directory for the downloaded file. | |
You must have write permission for this directory.</li> | |
<br> | |
<li> | |
Download the file for your platform into the download directory. | |
</li> | |
<br> | |
<li>Go to the download directory, and uncompress and untar the downloaded file. | |
<pre> | |
bzcat <i>filename</i> | tar xvf - | |
</pre> | |
</li> | |
<!-- | |
<li> | |
Become superuser (root). Run the installer in the download directory by typing: | |
<pre> | |
./installer | |
</pre> | |
</li> | |
<br> | |
<li>Click Next on the Welcome page, and accept the Software License Agreement | |
and click Next. | |
</li> | |
<br> | |
<li>On the Select Components page of the installer, select Custom Install for | |
Sun Studio Software. Select Default Install for Solaris Patches. Select No Install for | |
Documentation, Source Distribution, and Sun Performance Library. | |
</li> | |
<br> | |
<li>On the Select Install Directory page, if you want to install the compilers | |
in the default installation directory <tt>/opt</tt>, click Next. If you want to | |
install the compilers in a different directory, type the path in the text field | |
and click Next.</li> | |
<br> | |
<li>On the Select Subcomponents page, select Compilers C and | |
Compilers C++, and click Next. | |
</li> | |
<br> | |
<li>On the Ready to Install page, verify that the disk space shown is available | |
on your system, and that the C compiler, C++ compiler, and Solaris patches are | |
listed. Then click Install Now. | |
</li> | |
<br> | |
<li>When installation is complete, proceed through the Installation Summary | |
page, the Registration page, and the After Installation page, and click Exit to | |
exit the installer. | |
</li> | |
--> | |
<li>Follow the instructions in Chapter 2 of the <i>Sun | |
Studio 12 Quick Installation (English, Japanese, Simplified Chinese)</i> guide to install the C compiler, C++ compiler, | |
and required Solaris patches.</li> | |
</ol> | |
</blockquote> | |
<p>Add the path to the Sun Studio software to your <tt>PATH</tt> before | |
starting the NetBeans IDE. | |
</p> | |
<h3>GNU Compilers and GNU <tt>make</tt></h3> | |
<p> | |
If you want to use the GNU compilers and GNU <tt>make</tt>: | |
<ul> | |
<li>If you have a standard installation of the Solaris 10 OS, the compilers and | |
<tt>gmake</tt> are installed in <tt>/usr/sfw/bin</tt>. Make sure that this | |
location is in your path before staring the NetBeans IDE.</li> | |
<li>If the compilers and <tt>gmake</tt> are not installed on your system, you can download them from | |
<a | |
href="http://www.sunfreeware.com"><tt>http://www.sunfreeware.com</tt></a>.</li> | |
</ul> | |
<blockquote> | |
<p><b>To download and install the GNU compilers and make</b></p> | |
<ol> | |
<li>Download gcc 3.4.6 and make 3.81.</li> | |
<br> | |
<li>If the download zip files are not | |
automatically gunzipped during download, unzip them with <tt>gunzip</tt>. | |
</li> | |
<br> | |
<li>Install the packages with the <tt>pkgadd</tt> command.</li> | |
</ol> | |
</blockquote> | |
<p>Make sure to include the GNU | |
compiler directory and the GNU make directory in your path before starting the NetBeans IDE. | |
</p> | |
<h3><tt>gdb</tt> Debugger</h3> | |
<p>Whether you use the Sun Studio compilers and Solaris <tt>make</tt> or the | |
GNU compilers and GNU <tt>make</tt>, you must have the <tt>gbd</tt> debugger to | |
debug applications in NetBeans C/C++ Development Pack. You can download <tt>gdb</tt> 6.2.1 from | |
<a href="ftp://ftp.gnu.org/gnu/gdb/"><tt>ftp://ftp.gnu.org/gnu/gdb/</tt></a>. | |
</p> | |
<blockquote> | |
<p><b>To download and install <tt>gdb</tt>:</b></p> | |
<ol> | |
<li>Under "Select a Download" at the botttom of the page, select the Solaris 10 | |
Companion Software download for your Solaris platform.</li> | |
<br> | |
<li>On the Download page, accept the License Agreement and select the | |
<tt>gbd - GNU source level debugger</tt> package. | |
</li> | |
<br> | |
<li>Become root (superuser). | |
</li> | |
<br> | |
<li>Unzip the file with <tt>binzip</tt> and install <tt>gbd</tt> with | |
<tt>pkgadd</tt>: | |
<pre> | |
bunzip SFWgdb.bz2 | |
pkgadd -d SFWgbd | |
</pre> | |
</li> | |
</ol> | |
</blockquote> | |
<p>Make sure to include the path to <tt>gdb</tt> in your path before starting | |
the NetBeans IDE.</p> | |
<br><p align="center"><a href="#top">top</a></p> | |
<br> | |
<!-- COMPILER SETUP: LINUX OS --------------------------------> | |
<h2 style="color:#0E1B55"><a name="compilers_linux"></a>Linux</h2> | |
<p> | |
NetBeans C/C++ Development Pack has been tested with the following compilers | |
and tools: | |
<ul> | |
<li>Sun Studio 12 C compiler and Red Hat Fedora Core 3 gcc</li> | |
<li>Sun Studio 12 C++ compiler and Red Hat Fedora Core 3 g++</li> | |
<li>Red Hat Fedora Core 3 gdb</li> | |
<li>Red Hat Fedora Core make</li> | |
</ul> | |
</p> | |
<blockquote> | |
<p><b>To download and install the Sun Studio 12 compilers:</b></p> | |
<ol> | |
<li>Create a directory for the downloaded file. | |
You must have write permission for this directory.</li> | |
<br> | |
<li> | |
Download the file for your platform into the download directory. | |
</li> | |
<br> | |
<li>Go to the download directory, and uncompress and untar the downloaded file. | |
<pre> | |
bzcat <i>filename</i> | tar xvf - | |
</pre> | |
</li> | |
<li>Follow the instructions in Chapter 2 of the <i>Sun | |
Studio 12 Quick Installation</i> guide to install the C compiler, C++ compiler, | |
and required Solaris patches.</li> | |
</ol> | |
</blockquote> | |
<p>Add the path to the Sun Studio software to your <tt>PATH</tt> before | |
starting the NetBeans IDE. | |
</p> | |
<br><p align="center"><a href="#top">top</a></p> | |
<br> | |
<!-- COMPILER SETUP: MAC OS X ----------------------------------> | |
<h2 style="color:#0E1B55"><a name="compilers_mac"></a>Macintosh OS X</h2> | |
<p> | |
NetBeans C/C++ Development Pack has been tested with the following compilers | |
and tools: | |
<ul> | |
<li>gcc 4.0.1 compilers</li> | |
<li>gdb (GNU debugger) 6.1</li> | |
</ul> | |
<p>Install the following packages that are provided with your Macintosh OS X: | |
<ul> | |
<li>Xcode</li> | |
<li>X11</li> | |
</ul> | |
</blockquote> | |
</blockquote> | |
<br> | |
<p align="center"><a href="#top">top</a></p> | |
<br><!-- VERIFYING THE INSTALLATION ------------------------------------------> | |
<h2><a name="verifying">Verifying the Installation</a></h2> | |
<p>To verify that the installation is correct, start the NetBeans IDE, | |
build a sample project, and run it in the <tt>gdb</tt> debugger.</p> | |
<blockquote> | |
<h2 style="color:#0E1B55"><a name="verify_windows">Windows</a></h2> | |
<p><b>To start the IDE on Microsoft Windows machines, do one of the following:</b></p> | |
<ul> | |
<li>Double-click the NetBeans IDE icon on your desktop.</li> | |
<br> | |
<li>From the Start menu, select Programs > NetBeans 5.5.1 > NetBeans IDE, | |
or Programa > NetBeans 5.5 > NetBeans IDE.</li> | |
</ul> | |
<p><b>To build a sample project and run it in the debugger:</b> | |
<ol> | |
<li>Open the New Project wizard by choosing File > New Project.</li> | |
<br> | |
<li>In the Categories panel on the Choose Project page of the wizard, expand the Samples category and the C/C++ Development | |
subcategory, and select the C/C++ subcategory.</li> | |
<br> | |
<li>In the Projects panel, select the <tt>Welcome</tt> project. Click Next. | |
</li> | |
<br> | |
<li>On the Project Name and Location page, click Finish. | |
</li> | |
<br> | |
<li>In the Projects tab of the IDE, right-click the <tt>Welcome_1</tt> project and | |
choose Build Project. If your compilers and <tt>make</tt> utility are | |
installed correctly and the path to them is set, build output is displayed in | |
the Output window and the project builds successfully. | |
</li> | |
<br> | |
<li>Double-click the <tt>welcome.cc</tt> file to open it in the Source | |
Editor.</li> | |
<br> | |
<li>Right-click in the left margin of the Source Editor window and choose | |
Show Line Numbers. | |
</li> | |
<br> | |
<li>Set a breakpoint by clicking in the left margin of the Source | |
Editor window next to line 33. | |
</li> | |
<br> | |
<li>Right-click the project and choose Debug Project. If the <tt>gdb</tt> | |
debugger is installed correctly and the path to it is set, <tt>gdb</tt> starts | |
up, the Debugger tabs are displayed, and the </tt>Welcome</tt> application | |
runs and stops at the breakpoint. | |
</li> | |
<br> | |
<li>Choose Run > Continue to run the application to completion. | |
</li> | |
</ol> | |
<br><p align="center"><a href="#top">top</a></p> | |
<br><h2 style="color:#0E1B55"><a name="verify_solaris">Solaris OS</a></h2> | |
<p><b>To start the NetBeans IDE on Solaris systems:</b></p> | |
<ol> | |
<li>Navigate to the <tt>bin</tt> subdirectory of your installation. </li> | |
<br> | |
<li>Execute the launcher script by typing <tt>./netbeans</tt>. | |
</ol> | |
<p><b>To build a sample project and run it in the debugger:</b> | |
<ol> | |
<li>Open the New Project wizard by choosing File > New Project.</li> | |
<br> | |
<li>In the Categories panel on the Choose Project page of the wizard, expand the Samples category and the C/C++ Development | |
subcategory, and select the C/C++ subcategory.</li> | |
<br> | |
<li>In the Projects panel, select the <tt>Welcome</tt> project. Click Next. | |
</li> | |
<br> | |
<li>On the Project Name and Location page, click Finish. | |
</li> | |
<br> | |
<li>In the Projects tab of the IDE, right-click the <tt>Welcome_1</tt> project | |
and choose Properties. | |
</li> | |
<br> | |
<li>In the Project Properties dialog box, set the Compiler Collection property | |
to the compiler collection you want to validate and click OK. | |
</li> | |
<br> | |
<li>In the Projects tab, right-click the project and | |
choose Build Project. If your compilers and <tt>make</tt> utility are | |
installed correctly and the path to them is set, build output is displayed in | |
the Output window and the project builds successfully. | |
</li> | |
<br> | |
<li>Double-click the <tt>welcome.cc</tt> file to open it in the Source | |
Editor.</li> | |
<br> | |
<li>Right-click in the left margin of the Source Editor window and choose | |
Show Line Numbers. | |
</li> | |
<br> | |
<li>Set a breakpoint by clicking in the left margin of the Source | |
Editor window next to line 33. | |
</li> | |
<br> | |
<li>Right-click the project and choose Debug Project. If the <tt>gdb</tt> | |
debugger is installed correctly and the path to it is set, <tt>gdb</tt> starts | |
up, the Debugger tabs are displayed, and the </tt>Welcome</tt> application | |
runs and stops at the breakpoint. | |
</li> | |
<br> | |
<li>Choose Run > Continue to run the application to completion. | |
</li> | |
</ol> | |
<br><p align="center"><a href="#top">top</a></p> | |
<br> | |
<h2 style="color:#0E1B55"><a name="verify_linux">Linux</a></h2> | |
<p><b>To start the NetBeans IDE on Linux systems:</b></p> | |
<ol> | |
<li>Navigate to the <tt>bin</tt> subdirectory of your installation. </li> | |
<br> | |
<li>Execute the launcher script by typing <tt>./netbeans</tt>. | |
</ol> | |
<p><b>To build a sample project and run it in the debugger:</b> | |
<ol> | |
<li>Open the New Project wizard by choosing File > New Project.</li> | |
<br> | |
<li>In the Categories panel on the Choose Project page of the wizard, expand the Samples category and the C/C++ Development | |
subcategory, and select the C/C++ subcategory.</li> | |
<br> | |
<li>In the Projects panel, select the <tt>Welcome</tt> project. Click Next. | |
</li> | |
<br> | |
<li>On the Project Name and Location page, click Finish. | |
</li> | |
<br> | |
<li>In the Projects tab of the IDE, right-click the <tt>Welcome_1</tt> project | |
and choose Properties. | |
</li> | |
<br> | |
<li>In the Project Properties dialog box, set the Compiler Collection property | |
to the compiler collection you want to validate and click OK. | |
</li> | |
<br> | |
<li>In the Projects tab, right-click the project and | |
choose Build Project. If your compilers and <tt>make</tt> utility are | |
installed correctly and the path to them is set, build output is displayed in | |
the Output window and the project builds successfully. | |
</li> | |
<br> | |
<li>Double-click the <tt>welcome.cc</tt> file to open it in the Source | |
Editor.</li> | |
<br> | |
<li>Right-click in the left margin of the Source Editor window and choose | |
Show Line Numbers. | |
</li> | |
<br> | |
<li>Set a breakpoint by clicking in the left margin of the Source | |
Editor window next to line 33. | |
</li> | |
<br> | |
<li>Right-click the project and choose Debug Project. If the <tt>gdb</tt> | |
debugger is installed correctely and the path to it is set, <tt>gdb</tt> starts | |
up, the Debugger tabs are displayed, and the </tt>Welcome</tt> application | |
runs and stops at the breakpoint. | |
</li> | |
<br> | |
<li>Choose Run > Continue to run the application to completion. | |
</ol> | |
<br><p align="center"><a href="#top">top</a></p> | |
<br> | |
<h2 style="color:#0E1B55"><a name="verify_mac">Mac OS X</a></h2> | |
<p><b>To start the IDE on Macintosh machines, double-click the NetBeans icon on your desktop.</li> | |
<p>To build a sample project and run it in the debugger:</b> | |
<ol> | |
<li>Open the New Project wizard by choosing File > New Project.</li> | |
<br> | |
<li>In the Categories panel on the Choose Project page of the wizard, expand the Samples category and the C/C++ Development | |
subcategory, and select the C/C++ subcategory.</li> | |
<br> | |
<li>In the Projects panel, select the <tt>Welcome</tt> project. Click Next. | |
</li> | |
<br> | |
<li>On the Project Name and Location page, click Finish. | |
</li> | |
<br> | |
<li>In the Projects tab of the IDE, right-click the <tt>Welcome_1</tt> project and | |
choose Build Project. If your compilers and <tt>make</tt> utility are | |
installed correctly and the path to them is set, build output is displayed in | |
the Output window and the project builds successfully. | |
</li> | |
<br> | |
<li>Double-click the <tt>welcome.cc</tt> file to open it in the Source | |
Editor.</li> | |
<br> | |
<li>Right-click the project and choose Debug Project. If the <tt>gdb</tt> | |
debugger is installed correctly and the path to it is set, <tt>gdb</tt> starts | |
up and the Debugger tabs are displayed. | |
</li> | |
</ol> | |
</blockquote> | |
<br><p align="center"><a href="#top">top</a></p> | |
<!-- UNINSTALLATION ------------------------------------------------------> | |
<h2><a name="uninstallation">Uninstalling the Software</a></h2> | |
<blockquote> | |
<!-- UNINSTALLATION: WINDOWS ---------------------------------------------> | |
<h2 style="color:#0E1B55"><a name="uninstall_windows">Windows</a></h3> | |
<p><b>To uninstall the software:</b></p> | |
<ol> | |
<li>Shut down the IDE.</li> | |
<li>From the Control Panel, start Add or Remove Programs, select | |
NetBeans C/C++ Development Pack 5.5.1 and click Change/Remove.</li> | |
<li>Follow the instructions in the uninstaller.</li> | |
</ol> | |
<!-- UNINSTALLATION: SOLARIS and LINUX -----------------------------------> | |
<h2 style="color:#0E1B55"><a name="uninstall_sollinux">Solaris OS, Linux</a></h3> | |
<p><b>To uninstall the software:</b></p> | |
<ol> | |
<li>Shut down the IDE.</li> | |
<li>Navigate to the /<tt><i>NetBeans-5.5.1-directory</i>/cnd1/_uninst</tt> | |
directory. | |
</li> | |
<li>Type <tt>./uninstaller</tt> to run the InstallShield uninstaller. | |
</li> | |
</ol> | |
<!-- UNINSTALLATION: MAC OS X -----------------------------------> | |
<h2 style="color:#0E1B55"><a name="uninstall_mac">Mac OS X</a></h3> | |
<p><b>To uninstall the software:</b></p> | |
<ol> | |
<li>Shut down the IDE.</li> | |
<li>Navigate to the | |
<tt>/~/Desktop/NetBeans.app/Contents/Resources/NetBeans////cnd1/_uninst</tt> | |
directory. (If you installed the NetBeans IDE in a directory other than | |
<tt>Desktop</tt>, replace <tt>/~/Desktop</tt> in the path with that | |
directory.)</li> | |
<li>Type <tt>./uninstaller</tt> to run the InstallShield uninstaller. | |
</li> | |
</ol> | |
</blockquote> | |
<p align="center"><a href="#top">top</a></p> | |
<br> | |
<!-- End Content Area --> | |
</div> | |
</td> | |
</tr> | |
</table> | |
</body> | |
</html> |