10139N/A<!
DOCTYPE REFENTRY PUBLIC "-//Sun Microsystems//DTD DocBook V3.0-Based SolBook Subset V2.0//EN" [
10139N/A<!--ArborText, Inc., 1988-1999, v.4002-->
10139N/A<!
ENTITY suncopy "Copyright (c) 2003,2006 Sun Microsystems, Inc. All Rights Reserved.">
10139N/A<
refmeta><
refentrytitle>orbit-idl-2</
refentrytitle><
manvolnum>1</
manvolnum>
10139N/A<
refmiscinfo class="date">11 Jan 2003</
refmiscinfo>
10139N/A<
refmiscinfo class="sectdesc">&man1;</
refmiscinfo>
10139N/A<
refmiscinfo class="software">&release;</
refmiscinfo>
10139N/A<
refmiscinfo class="arch">generic</
refmiscinfo>
10139N/A<
refmiscinfo class="copyright">&suncopy;</
refmiscinfo>
10139N/A<
indexterm><
primary>orbit-idl-2</
primary></
indexterm><
indexterm><
primary>
10139N/AORBit IDL compiler</
primary></
indexterm><
refnamediv id="orbit-idl-2-1-name">
10139N/A<
refname>orbit-idl-2</
refname><
refpurpose>ORBit IDL compiler</
refpurpose></
refnamediv>
10139N/A<
refsynopsisdiv id="orbit-idl-2-1-synp"><
title>&synp-tt;</
title>
10139N/A<
cmdsynopsis><
command>&cmd;</
command><
arg choice="opt"><
option>-define=<
replaceable>
10139N/Astring</
replaceable></
option> </
arg><
arg choice="opt"><
option>-include=<
replaceable>
10139N/Astring</
replaceable></
option></
arg><
arg choice="opt"><
option>-libIDL-version
10139N/A</
option></
arg><
arg choice="opt"><
option>-lang=<
replaceable>string</
replaceable></
option></
arg>
10139N/A<
arg choice="opt"><
option>-debug=<
replaceable>int</
replaceable></
option></
arg>
10139N/A<
arg choice="opt"><
option>-idlwarnlevel=<
replaceable>int</
replaceable></
option></
arg>
10139N/A<
arg choice="opt"><
option>-imodule</
option></
arg><
arg choice="opt"><
option>
10139N/A-showcpperrors</
option></
arg><
arg choice="opt"><
option>-nostubs</
option></
arg>
10139N/A<
arg choice="opt"><
option>-noskels</
option></
arg><
arg choice="opt"><
option>
10139N/A-nocommon</
option></
arg><
arg choice="opt"><
option>-noheaders</
option></
arg>
10139N/A<
arg choice="opt"><
option>-noidata</
option></
arg><
arg choice="opt"><
option>
10139N/A-add-imodule</
option></
arg><
arg choice="opt"><
option>-skeleton-impl</
option></
arg>
10139N/A<
arg choice="opt"><
option>-backenddir=<
replaceable>dir</
replaceable></
option></
arg>
10139N/A<
arg choice="opt"><
option>-c-output-formatter=<
replaceable>program</
replaceable></
option></
arg>
10139N/A<
arg choice="opt"><
option>-onlytop</
option></
arg><
arg choice="opt"><
option>
10139N/A-pidl</
option></
arg><
arg choice="opt"><
option>-nodefskels</
option></
arg><
arg 10139N/Achoice="opt"><
option>-deps=<
replaceable>filename</
replaceable></
option></
arg>
10139N/A<
arg choice="opt"><
option>-headerguardprefix=<
replaceable>string</
replaceable></
option></
arg>
10139N/A<
arg choice="opt"><
option>-usage</
option></
arg><
arg choice="opt"><
option>
10139N/A-version</
option></
arg><
arg choice="opt"><
option>-help</
option></
arg><
arg 10139N/Achoice="plain"><
option role="nodash">idlfile</
option></
arg>
10139N/A<
refsect1 id="orbit-idl-2-1-desc"><
title>&desc-tt;</
title>
10139N/A<
para><
command>&cmd;</
command> is the ORBit Interface Definition Language
10139N/A(IDL) compiler. It takes as input an IDL file, and produces as output a set
10139N/Aof source code files which you can use to develop an application that implements
10139N/Aand/
or uses the CORBA interface defined in the IDL file.</
para>
10139N/A<
refsect1 id="orbit-idl-2-1-opts"><
title>&opts-tt;</
title>
10139N/A<
para>The following options are supported:</
para>
10139N/A<
variablelist termlength="wide"><
varlistentry><
term><
option>-add-imodule
10139N/A</
option></
term><
listitem><
para>Output an interface type data file.</
para>
10139N/A<
varlistentry><
term><
option>-backenddir=<
replaceable>dir</
replaceable></
option></
term>
10139N/A<
listitem><
para>Override the IDL backend library directory.</
para>
10139N/A<
varlistentry><
term><
option>-c-output-formatter=<
replaceable>program</
replaceable></
option></
term>
10139N/A<
listitem><
para>Specify the program with which to format output (normally,
10139N/A<
varlistentry><
term><
option>d</
option>, <
option>-debug=<
replaceable>int</
replaceable></
option></
term>
10139N/A<
listitem><
para>Set the debug level. Valid values are in the range 0 to 4
10139N/A<
varlistentry><
term><
option>D</
option><
option>-define=<
replaceable>string</
replaceable></
option></
term>
10139N/A<
listitem><
para>Define value in preprocessor. This option is passed directly
10139N/Ato <
citerefentry><
refentrytitle>cpp</
refentrytitle><
manvolnum>1</
manvolnum>
10139N/A<
varlistentry><
term><
option>-deps=<
replaceable>filename</
replaceable></
option></
term>
10139N/A<
listitem><
para>Generate dependency information suitable for inclusion in
10139N/A<
varlistentry><
term><
option>-headerguardprefix=<
replaceable>string</
replaceable></
option></
term>
10139N/A<
listitem><
para>Prefix for <
literal>#ifdef</
literal> header guards. Sometimes
10139N/Auseful to avoid conflicts.</
para>
10139N/A<
varlistentry><
term><
option>?</
option>, <
option>-help</
option></
term><
listitem><
para>Show help
10139N/Ainformation on standard output, and exit.</
para>
10139N/A<
varlistentry><
term><
option>-idlwarnlevel=<
replaceable>int</
replaceable></
option></
term>
10139N/A<
listitem><
para>Set the IDL warning level. Valid values are in the range 0
10139N/Ato 4 inclusive. The default value is 2.</
para>
10139N/A<
varlistentry><
term><
option>i</
option>, <
option>-imodule</
option></
term><
listitem><
para>Output
10139N/Aonly an interface type data file.</
para>
10139N/A<
varlistentry><
term><
option>I</
option>, <
option>-include=<
replaceable>string</
replaceable></
option></
term>
10139N/A<
listitem><
para>Add search path for include files. This option is passed directly
10139N/Ato <
citerefentry><
refentrytitle>cpp</
refentrytitle><
manvolnum>1</
manvolnum>
10139N/A<
varlistentry><
term><
option>l</
option>, <
option>-lang=<
replaceable>string</
replaceable></
option></
term>
10139N/A<
listitem><
para>Display the language (the default is C).</
para>
10139N/A<
varlistentry><
term><
option>-libIDL-version</
option></
term><
listitem><
para>
10139N/AShow version of <
filename>libIDL</
filename> used. See <
citerefentry><
refentrytitle>
10139N/AlibIDL-2</
refentrytitle><
manvolnum>3</
manvolnum></
citerefentry>.</
para>
10139N/A<
varlistentry><
term><
option>-nocommon</
option></
term><
listitem><
para>Do not
10139N/A<
varlistentry><
term><
option>-nodefskels</
option></
term><
listitem><
para>Do
10139N/Anot output definitions for skeletals in header.</
para>
10139N/A<
varlistentry><
term><
option>-noheaders</
option></
term><
listitem><
para>Do not
10139N/A<
varlistentry><
term><
option>-noidata</
option></
term><
listitem><
para>Do not
10139N/Agenerate interface type data.</
para>
10139N/A<
varlistentry><
term><
option>-noskels</
option></
term><
listitem><
para>Do not
10139N/A<
varlistentry><
term><
option>-nostubs</
option></
term><
listitem><
para>Do not
10139N/A<
varlistentry><
term><
option>-onlytop</
option></
term><
listitem><
para>Inhibit
10139N/A<
varlistentry><
term><
option>-pidl</
option></
term><
listitem><
para>Treat the
10139N/A<
varlistentry><
term><
option>-showcpperrors</
option></
term><
listitem><
para>
10139N/AShow C preprocessor errors.</
para>
10139N/A<
varlistentry><
term><
option>-skeleton-impl</
option></
term><
listitem><
para>
10139N/AOutput a skeletal object implementation.</
para>
10139N/A<
varlistentry><
term><
option>-usage</
option></
term><
listitem><
para>Display
10139N/A<
varlistentry><
term><
option>v</
option>, <
option>-version</
option></
term><
listitem><
para>Display
10139N/Athe compiler version and serial.</
para>
10139N/A<
refsect1 id="orbit-idl-2-1-oper"><
title>&oper-tt;</
title>
10139N/A<
para>The following operands are supported:</
para>
10139N/A<
variablelist termlength="wide"><
varlistentry><
term><
option role="nodash"><
replaceable>
10139N/Afilename</
replaceable></
option></
term><
listitem><
para>The name of the input
10139N/AIDL file to be processed by the compiler.</
para>
10139N/A<
refsect1 id="orbit-idl-2-1-exam"><
title>&exam-tt;</
title>
10139N/A<
example role="example"><
title>Compiling an IDL file</
title>
10139N/A<
para>The following files are output:</
para>
10139N/A</
computeroutput></
screen></
para>
10139N/A<
example role="example"><
title>Compiling an IDL file for use as a client of
10139N/A<
para><
screen>example% <
userinput>&cmd; --noskels
example.idl</
userinput></
screen></
para>
10139N/A<
para>The following files are output:</
para>
10139N/A<
example role="example"><
title>Compiling an IDL file for use as a servant
10139N/A<
para><
screen>example% <
userinput>&cmd; --nostubs
example.idl</
userinput></
screen></
para>
10139N/A<
para>The following files are output:</
para>
10139N/A<
example role="example"><
title>Compiling an IDL file that includes IDL files
10139N/Alocated in a non-standard directory</
title>
10139N/A<
refsect1 id="orbit-idl-2-1-exit"><
title>&exit-tt;</
title>
10139N/A<
para>The following exit values are returned:</
para>
10139N/A<
variablelist termlength="xtranarrow"><
varlistentry><
term><
returnvalue>0</
returnvalue></
term>
10139N/A<
listitem><
para>Application exited successfully</
para>
10139N/A<
varlistentry><
term><
returnvalue>>0</
returnvalue></
term><
listitem><
para>Application
10139N/A<
refsect1 id="orbit-idl-2-1-file"><
title>&file-tt;</
title>
10139N/A<
para>The following files are used by this application:</
para>
10139N/A<
variablelist termlength="medium"><
varlistentry><
term><
filename>/
usr/
bin/&cmd;</
filename></
term>
10139N/A<
listitem><
para>Executable for the ORBit IDL compiler</
para>
10139N/A<
refsect1 id="orbit-idl-2-1-attr"><
title>&attr-tt;</
title>
10139N/A<
para>See <
olink targetdocent="REFMAN5" localinfo="attributes-5"><
citerefentry>
10139N/A<
refentrytitle>attributes</
refentrytitle><
manvolnum>5</
manvolnum></
citerefentry></
olink>
10139N/Afor descriptions of the following attributes:</
para>
10139N/A<
tgroup cols="2" colsep="1" rowsep="1"><
colspec colname="COLSPEC0" colwidth="1*">
10139N/A<
colspec colname="COLSPEC1" colwidth="1*">
10139N/A<
row><
entry align="center" valign="middle">ATTRIBUTE TYPE</
entry><
entry align="center" 10139N/Avalign="middle">ATTRIBUTE VALUE</
entry></
row>
10139N/A<
row><
entry><
para>Availability</
para></
entry><
entry><
para>SUNWgnome-component-devel
10139N/A<
row><
entry colname="COLSPEC0"><
para>Interface stability</
para></
entry><
entry 10139N/Acolname="COLSPEC1"><
para>Volatile</
para></
entry></
row>
10139N/A<
refsect1 id="orbit-idl-2-1-also"><
title>&also-tt;</
title>
10139N/A<!--Reference to another man page--> 10139N/A<!--Reference to a Help manual--> 11904N/A<
citerefentry><
refentrytitle>cpp</
refentrytitle><
manvolnum>1</
manvolnum></
citerefentry>,
11904N/A<
citerefentry><
refentrytitle>libIDL-2</
refentrytitle><
manvolnum>3</
manvolnum></
citerefentry>,
11904N/A<
citerefentry><
refentrytitle>libORBit-2</
refentrytitle><
manvolnum>3</
manvolnum></
citerefentry>,
11904N/A<
citerefentry><
refentrytitle>attributes</
refentrytitle><
manvolnum>5</
manvolnum></
citerefentry>
10139N/A<
refsect1 id="orbit-idl-2-1-note"><
title>¬e-tt;</
title>
10139N/A<
para>The output source code is specific to ORBit and should not be used with
10139N/Aany other Object Request Broker (ORB), with any other version of ORBit, or
10139N/Aon a platform other than the one on which the IDL compiler was itself compiled.
11933N/A<
para>Written by Mark McLoughlin, Sun Microsystems Inc., 2003, 2006.</
para>