blob: a02870d86172a7b32375a9c6aea2f014d69656d9 [file] [log] [blame]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>NetBeans C/C++ Development Pack 5.5 Release Notes</title>
<meta name="DESCRIPTION" content="Release notes for the NetBeans C/C++ Development Pack 5.5">
<link rel="stylesheet" type="text/css" href="../../../netbeans.css">
</head>
<body>
<!-- Begin Content Area -->
<a name="top"></a>
<h1>NetBeans&#8482; C/C++ Development Pack 5.5 Release Notes</h1>
<p>Welcome to NetBeans C/C++ Development Pack.</p>
<p>NetBeans&#8482; C/C++ Development Pack 5.5 lets you develop C/C++
applications for the Microsoft Windows, Linux,
and Solaris Operating Systems with the NetBeans IDE.
</p>
<p>
NetBeans C/C++ Development Pack 5.5 is compatible with the NetBeans IDE 5.5.
</p>
<p><b>Contents</b></p>
<ul>
<li><a href="#system_requirements">System Requirements</a></li>
<li><a href="#configuration">Configuration Information</a></li>
<li><a href="#known_issues">Known Issues</a></li>
<li><a href="#documentation">Documentation</a></li>
</ul>
<blockquote>
<p><b>Note: </b>If you are looking for information about installing the
software, see the <a href="cnd-install.html">NetBeans C/C++ Development Pack 5.5 Installation
and Setup Instructions</a>.</p>
</blockquote>
<h2><a name="system_requirements">System Requirements</a></h2>
<blockquote>
<!--<a name="req_os"></a>-->
<h5 style="border-bottom: 0pt none;">Supported Operating Systems</h5>
<p>NetBeans C/C++ Development Pack 5.5 runs on operating systems that
support the Java VM.
NetBeans C/C++ Development Pack 5.5 has been
tested on the following
operating systems:
<ul>
<li>Microsoft Windows XP Professional SP2</li>
<li>Red Hat Fedora Core 3</li>
<li>Solaris&#8482; 10 Operating System (Solaris OS) (SPARCĀ® and x86/x64
Platform Edition)
</ul>
</p>
<p>NetBeans C/C++ Development Pack also runs on the following platforms:
<ul>
<li>Microsoft Windows 2000 Professional SP4</li>
<li>Solaris&#8482; 8 OS (SPARC&#174 and x86/x64 Platform Edition) and Solaris&#8482; 9 OS (SPARC&#174 and x86/x64 Platform Edition)</li>
<li>Various other Linux distributions</li>
</ul>
</p>
<a name="min_hw"></a>
<h5 style="border-bottom: 0pt none;">Minimum Hardware Configuration</h5>
<br>
<div class="greybox">
<p><b>Note:</b> The NetBeans IDE's minimum screen resolution is 1024x768 pixels.</p>
</div>
<br>
<ul>
<li><b>Microsoft Windows operating systems</b>:
<ul>
<li><b>Processor: </b>500 MHz Intel Pentium III workstation or equivalent</li>
<li><b>Memory: </b>512 MB</li>
<li><b>Disk space: </b>850 MB of free disk space </li>
</ul>
<br>
</li>
<li><b>Linux operating system</b>:
<ul>
<li><b>Processor: </b>500 MHz Intel Pentium III workstation or equivalent</li>
<li><b>Memory: </b>512 MB</li>
<li><b>Disk space: </b>450 MB of free disk space</li>
</ul>
<br>
</li>
<li><b>Solaris OS (SPARC)</b>:
<ul>
<li><b>Processor: </b> UltraSPARC II 450 MHz</li>
<li><b>Memory: </b>512 MB</li>
<li><b>Disk space: </b>450 MB of free disk space</li>
</ul>
<br>
</li>
<li><b>Solaris OS (x86/x64 Platform Edition)</b>:
<ul>
<li><b>Processor: </b>AMD Opteron 100 Series 1.8 GHz</li>
<li><b>Memory: </b>512 MB</li>
<li><b>Disk space: </b>450 MB of free disk space</li>
</ul>
<br>
</li>
</ul>
</ul>
<a name="req_hw"></a>
<h5 style="border-bottom: 0pt none;">Recommended Hardware Configuration</h5>
<ul>
<li><b>Microsoft Windows operating systems</b>:
<ul>
<li><b>Processor: </b>1.4 GHz Intel Pentium III workstation or equivalent</li>
<li><b>Memory: </b>1 GB</li>
<li><b>Disk space: </b>1 GB of free disk space</li>
</ul>
<br>
</li>
<li><b>Linux operating system</b>:
<ul>
<li><b>Processor: </b>1.4 GHz Intel Pentium III or equivalent</li>
<li><b>Memory: </b>1 GB</li>
<li><b>Disk space: </b>850 MB of free disk space</li>
</ul>
<br>
</li>
<li><b>Solaris&#8482; OS (SPARC&#174;)</b>:
<ul>
<li><b>Processor: </b>UltraSPARC IIIi 1 GHz</li>
<li><b>Memory: </b>1 GB</li>
<li><b>Disk space: </b>850 MB of free disk space</li>
</ul>
<br>
</li>
<li><b>Solaris&#8482; OS (x86/x64 platform edition)</b>:
<ul>
<li><b>Processor: </b>AMD Opteron 100 Series 1.8 GHz</li>
<li><b>Memory: </b>1 GB</li>
<li><b>Disk space: </b>850 MB of free disk space</li>
</ul>
<br>
</li>
</ul>
</li>
</ul>
<a name="req_sw"></a>
<h5 style="border-bottom: 0pt none;">Required Software</h5>
<p>NetBeans C/C++ Development Pack 5.5 runs on the Java 2 Platform Standard Edition Development Kit 5.0 Update 1 or higher (JDK 5.0, version 1.5.0_01 or higher), which consists of the Java Runtime Environment plus developer tools for compiling, debugging, and running applications written in the Java language. Sun Java System Application Server Platform Edition 9 has been tested with JDK 5.0 update 6.</p>
<p>
You can download the JDK for your platform from <a
href="http://java.sun.com/j2se/1.5.0/download.html">http://java.sun.com/j2se/1.5.0/download.html</a>.
</p>
</blockquote>
<br>
<p align="center"><a href="#top">top</a></p>
<h2><a name="configuration">Configuration Information</a></h2>
<p>The NetBeans IDE has a default heap size of 128 MB. NetBeans C/C++ Development
Pack runs well with this default setting when you are developing small projects
with up to 500 source and header files.
</p>
<p>When you are developing larger projects, you will need to increase the heap size.
If you get an OutOfMemory exception when developing a large project, the heap size is
a likely cause.
</p>
<p>
You can set the heap size for the Java Virtual Machine (JVM)*
on which the NetBeans IDE runs in the <tt>netbeans.conf</tt>
file.
<p><b>To change the heap size:</b></p>
<ol>
<li>Copy the <tt>netbeans.conf</tt> from the <tt>etc</tt>
folder in the NetBeans
installation directory
into your NetBeans user directory (<tt>$HOME/.netbeans/5.5</tt>). </li>
<li>In the <tt>netbeans.conf</tt> file in your user directory, edit the <tt>-J-Xmx</tt>
command line Java startup switch (bolded below) in the <tt>netbeans.conf</tt> file,
and then restart the IDE.
<pre>
# command line switches
netbeans_default_options="-J-Xms32m <b>-J-Xmx128m</b> -J-XX:PermSize=32m
-J-XX:MaxPermSize=96m -J-Xverify:none -J-Dapple.laf.useScreenMenuBar=true"
</pre></li>
</ol><p>
The recommended heap sizes for NetBeans C/C++
Development Pack for medium and large applications are:
<ul>
<li>For developing medium applications (500-2000
source and header files) on a system with 1 GB or more of RAM: 512 MB</li>
<li>For developing large applications (more than 2000 source and header files) on a
system with 2 GB or more of RAM): 1 GB</li>
</ul>
<p>Do not increase the heap size to more than 1 GB.
</p>
<p>If you are running the Sun JVM, you can also add the garbage collector switches <tt>-J-XX:+UseConcMarkSweepGC</tt>
(concurrent collector) and <tt>-J-XX:+UseParNewGC</tt> (parallel collector) to the
<tt>netbeans.conf</tt> file. These options allow the garbage collector to run in
parallel with the main execution engine. They might not be supported by non-Sun
implementations of the JVM.
</p>
<p>For more information on NetBeans switch settings, see the <a
href="https://netbeans.org/kb/55/using-netbeans/configuring.html">Configuring the IDE
section of <i>Using NetBeans IDE 5.5</i></a>
</p>
<p>For more information on NetBeans performance tuning, see <a
href="http://performance.netbeans.org/howto/jvmswitches/index.html"><i>Tuning JVM
Switches for Performance</i></a>.
</p>
<p><b>* Note:</b> The terms "Java Virtual Machine" and "JVM" mean a Virtual Machine for the
Java(TM) platform.
</p>
</blockquote>/se/tpubs/Work/
<br>
<p align="center"><a href="#top">top</a></p>
<br>
<a name="known_issues"></a>
<h2>Known Issues</h2>
<p>This NetBeans C/C++ Development Pack 5.5 release
lets you explore and evaluate new functionality in the IDE. We encourage you to get
involved and give us feedback by logging any issues you encounter in the
Issue Tracking system at <a href="https://netbeans.org/community/issues.html">
https://netbeans.org/community/issues.html</a>.</p>
<p>The unresolved issues for this release are as follows: </p>
<blockquote>
<ul>
<li><a href="https://netbeans.org/bugzilla/show_bug.cgi?id=75120">
Issue #75120: Terminate Process is failing</a>
<blockquote>
<p><b>Description:</b>
Attempting to terminate a running process from the Runtime tab does
not always terminate the process. The Runtime tab lists the process
as terminated, but might not really be terminated.
</p>
<p><b>Workaround</b>:
Before terminating a process in the IDE, check
the process ID by using the <tt>ps</tt> command on UNIX or the Task
Manager on Windows. After terminating the process in the IDE, check
that the process
was really terminated. If not, use the <tt>kill</tt> command on UNIX
systems or End Process in the Task Manager on Windows.
</p>
</blockquote>
</li>
<li><a href="https://netbeans.org/bugzilla/show_bug.cgi?id=89872">
Issue #89872: "Parser Settings" for Sun Compiler Collection are incorrect</a>
<blockquote>
<p><b>Description:</b>
Include directives for <tt>&lt;cstdlib&gt;</tt>,
<tt>&lt;cstring&gt;</tt> and some other
files are underlined as erroneous when the Sun Compiler Collection
is used.
</p>
<p><b>Workaround:</b>
Add the include search paths manually:
<ol>
<li>Select Tools &gt; Options.</li>
<li>In the Options dialog box, select the C/C++
node and click Parser Settings.</li>
<li>Select the Sun Compiler Collection in
the drop-down list, and click the Sun C++ Compiler tab.
</li>
<li>
Add the correct
paths using the Add button.
</li>
</ol>
</p>
</blockquote>
</li>
<li><a href="https://netbeans.org/bugzilla/show_bug.cgi?id=90026">
Issue #90026: Quick Navigator works incorrectly after source file was renamed</a>
<blockquote>
<p><b>Description:</b>
When you rename a file, the Quick Navigator (a drop-down box in the editor
toolbar that displays the outline for the current file) does not work
properly.
</p>
<p><b>Workaround:</b>
Close the file and then reopen it.
</p>
</blockquote>
</li>
<li><a href="https://netbeans.org/bugzilla/show_bug.cgi?id=89880">
Issue #89880: Project is not reparsed when Compiler Collection is switched</a>
<blockquote>
<p><b>Description:</b>
If you switch compiler collections for a project, the project is not
reparsed. After the switch, code completion and hyperlinks might not work properly
for the project.
</p>
<p><b>Workaround:</b>
Close the project and open it again.
</p>
</blockquote>
</li>
<li><a href="https://netbeans.org/bugzilla/show_bug.cgi?id=89876">
Issue #89876: gdb-lite is broken for applications compiled by Sun compilers collection</a>
<blockquote>
<p><b>Description:</b>
The debugger does not always work properly for projects compiled with
the Sun Compiler Collection.
</p>
<p><b>Workaround:</b>
The Sun Studio Compiler Collection has had little official
testing with the <tt>gdb</tt> debugger. An unofficial developer study
produced mixed results in testing several <tt>gdb</tt> versions
with the Sun Studio compilers on Linux and the Solaris OS. You can see these
results at
<a
href="http://cnd.netbeans.org/gdb-sscc.html"><tt>http://cnd.netbeans.org/gdb-sscc.html</tt></a>.
</p>
</blockquote>
</li>
<li><a href="https://netbeans.org/bugzilla/show_bug.cgi?id=79023">
Issue #79023: Class View should reduce time spent in updating tree for large projects.</a>
<blockquote>
<p><b>Description:</b>
For large projects and especially for projects with a "plain" structure
(projects that are not well structured using namespaces), having the
Class View open while the project is being parsed might slow down
parsing noticeably.
</p>
<p><b>Workaround:</b>
If you think parsing your project is taking too long, close the
Class View and reopen it
after the project is completely parsed.
</p>
</blockquote>
</li>
<li><a href="https://netbeans.org/bugzilla/show_bug.cgi?id=76173">
Issue #76173: No automatic flush of output before input</a>
<blockquote>
<p><b>Description:</b>
When running a C or C++ program, the OS flushes <tt>stdout</tt> before reading from
<tt>stdin</tt>.
This flushing does not occur if you run the program in the Output window.
</p>
<p><b>Workaround:</b>
In the Running category of the project properties, set the Console
Type to External Terminal or Default.
</p>
</blockquote>
</li>
<li><a href="https://netbeans.org/bugzilla/show_bug.cgi?id=89514">
Issue #89514: Input field in Output panel is misleading when external
terminal is used</a>
<blockquote>
<p><b>Description:</b>
When you run a program in an external terminal, the Output window in
the IDE has
an Input field. Text typed into this field is ignored
and does not go to the running program.
The program reads all input from the external terminal.
</p>
<p><b>Workaround:</b>
Ignore the Input field. Use the external terminal for all programs
receiving terminal input.
</p>
</blockquote>
</li>
<li><a href="https://netbeans.org/bugzilla/show_bug.cgi?id=89962">
Issue #89962: $PATH is corrupted for projects with dependent library projects</a>
<blockquote>
<p><b>Description:</b>
The IDE incorrectly overrides the <tt>PATH</tt> variable for a
project on Windows
that depends on either C/C++ Static Library or C/C++ Dynamic Library
projects. The program may not run.
</p>
<p><b>Workaround:</b>
Start NetBeans from a Cygwin terminal instead of from the Desktop or
Start menu.
</p>
</blockquote>
</li>
<li><a href="https://netbeans.org/bugzilla/show_bug.cgi?id=89718">
Issue #89718: Confusing output for running process. Process is not shown in Runtime tab.</a>
<blockquote>
<p><b>Description:</b>
The message <tt>Run successful. Exit value 0.</tt> appears immediately after the
program starts.
</p>
<p><b>Workaround:</b>
If you need to check your program's exit value and are not doing
terminal input,
set the Console Type in the Running node of the project properties to
Output Window (Input Only). If you don't
need to check your program's exit code or if you are doing terminal
input, you don't need to change anything.
</p>
<p>There is no workaround if you
are doing terminal input and you need to check your program's
exit code. In this case, you might want to run your program outside
the IDE.
</p>
</blockquote>
</li>
<li><a href="https://netbeans.org/bugzilla/show_bug.cgi?id=89966">
Issue #89966: Gnome terminal ignores environment variables</a>
<blockquote>
<p><b>Description:</b>
If you run a program in the Gnome terminal, environment variables
aren't passed properly to the program.
</p>
<p><b>Workaround:</b>
In the Running node of the project properties, set Terminal Type to
XTerm or set Console Type to Output Window (Input Only).
</p>
</blockquote>
</li>
<li><a href="https://netbeans.org/bugzilla/show_bug.cgi?id=89334">
Issue #89334: wrong return code printed when using external terminal window</a>
<blockquote>
<p><b>Description:</b>
The Output window should display the return code of the
application and print something like <tt>Failed. Return code = 5</tt>
when the application fails (returns something other
than 0). But it always displays <tt>Succeeded. Return code = 0</tt>.
</p>
<p><b>Workaround:</b>
If you need to see your program's exit value, set Console Type to
Output Window (Input Only) in the Running node of the project
properties. If you don't
care about the exit value, no change is necessary.
</p>
</blockquote>
</li>
<li><a href="https://netbeans.org/bugzilla/show_bug.cgi?id=90117">
Issue #90117: "Terminal Type" should be disabled if "Output Window (Input Only)"
is selected</a>
<blockquote>
<p><b>Description:</b>
The IDE ignores the setting of Terminal Type if Console Type is set
to Output Window (Input only).
</p>
<p><b>Workaround:</b>
Ignore the Terminal Type option.
</p>
</blockquote>
</li>
<li><a href="https://netbeans.org/bugzilla/show_bug.cgi?id=89343">
Issue #89343: Pause doesn't work on Windows when program waits user input</a>
<blockquote>
<p><b>Description:</b>
Clicking Pause while a program is waiting for input does
not stop the program. Pause works only after you supply the input.
</p>
<p><b>Workaround:</b>
No workaround.
</p>
</blockquote>
</li>
<li><a href="https://netbeans.org/bugzilla/show_bug.cgi?id=90120">
Issue #90120: "pause" (on Windows) does not work on a corner case</a>
<blockquote>
<p><b>Description:</b>
Besides <a href="https://netbeans.org/bugzilla/show_bug.cgi?id=89343">
89343</a>, there are several other cases when Pause does not work on
Windows. One case is in very tight loops.
</p>
<p><b>Workaround:</b>
No workaround.
</p>
</blockquote>
</li>
<li><a href="https://netbeans.org/bugzilla/show_bug.cgi?id=90222">
Issue #90222: Breakpoints don't take immediate effect while running</a>
<blockquote>
<p><b>Description:</b>
If a breakpoint is set on a running process, the breakpoint is not
passed to <tt>gdb</tt> until the next time the process is stopped.
</p>
<p><b>Workaround:</b>
Pause the process, set the breakpoint, and continue.
</p>
</blockquote>
</li>
<li><a href="https://netbeans.org/bugzilla/show_bug.cgi?id=90235">
Issue #90235: Console type "Output Window (input only)" should be "output only"</a>
<blockquote>
<p><b>Description:</b>
The NetBeans Output window does not handle input well. NetBeans
C/C++ Development Pack provides a Console Type project property that lets
you decide whether your program is run with I/O going to the
Output window or to an external
terminal (which is the default). The label for sending program I/O to
the Output window says "input only". It should read "output only".
</p>
<p><b>Workaround:</b>
In the Running node of the project properties, use the default Console Type of External Terminal.
</p>
</blockquote>
</li>
</ul>
</blockquote>
<h2><a name="documentation"></a>Documentation</h2>
<p>
Documentation for the NetBeans C/C++ Development Pack 5.5 release is provided in
the form of web-based guides and the IDE's help system. You can use the
following documents to get started:
<ul>
<li><a href="cnd-install.html">NetBeans C/C++ Development Pack 5.5
Installation and Setup Instructions</a></li>
<li><a href="https://netbeans.org/kb/55/quickstart-cnd.html">NetBeans
C/C++ Development Pack 5.5 Quick Start Guide</a></li>
<li><a href="https://netbeans.org/kb/55/index.html">
NetBeans 5.5 Documentation</a></li>
</ul>
</body>
</html>