|
|
HP C/HP-UX Release Notes for HP-UX 11.01: HP 9000 Computers > Chapter 3 Documentation OverviewC Compiler Documentation |
|
The HP C/HP-UX Release Notes provides release-specific information such as new feature summaries, installation instructions, and known defects. In addition, the Release Notes contains this documentation overview to help you orient yourself regarding available documentation. The release notes are also available online in the text file /opt/ansic/newconfig/RelNotes/ansic.11.11beta. Printed versions of Hewlett-Packard documents are available for ordering. Use the `man manuals' command for details on the documents available for ordering. See also the HP documentation web site http://docs.hp.com and the HP C/HP-UX web site at http://www.hp.com/go/C. Listed below are the documents most closely related to use of the ANSI C Compiler.
The C compiler online help is a series of html files containing a combination of reference and how-to information, including the following:
Before you can begin, you must set the DISPLAY environment variable to a (graphical mode) value that can accommodate the display of an HTML browser. You can set the BROWSER environment variable to point to the location of your HTML browser. If you do not set the BROWSER environment variable, the compiler will automatically run the browser located in /opt/ns-navgold/bin/netscape or /opt/ns-communicator/netscape. You may set the CROOTDIR environment variable to set the root directory of the online help source. If CROOTDIR is not set, the URL of the online help will be file:/opt/ansic/html/guide/${LOCALE}/c_index.html; this is assuming that compiler binaries are located in /opt/ansic/bin. To access the online help, on a system where the HP C compiler is installed, enter the following:
This command will launch a web browser, displaying the index file for the HP C online help system. The actual file location of the html help is file:/${CROOTDIR}/html/guide/${LOCALE}/c_index.html. If the environment variable CROOTDIR is not set, path will be formed relative to the compiler's root directory; this is usually /opt/ansic/. See the previous section “Before you begin” for more information on setting the CROOTDIR environment variable.
Previous versions of the HP C compiler, when installed on the X-Motif CDE environment, included a CDE version of the online help. This and the accompanying text-based 'charhelp' will no longer be updated with the ANSI C compiler. If you want to view online help, please use the HP C HTML Online Help. |
|