summaryrefslogtreecommitdiff
path: root/trunk/CIAO/CIDLC/README.html
blob: 97388a54ce7f7026d9bcaf6e79c607a635d1389b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<!--

file      : CIDCL/readme.html
author    : Boris Kolpackov <boris@dre.vanderbilt.edu>
cvs-id    : $Id$
-->

<html>

<head>

  <title>CIAO CIDL Compiler Synopsis</title>

  <meta name="author" content="Boris Kolpackov"/>
  <meta name="description" content="CIAO CIDL compiler README"/>
  <meta http-equiv="Content-Language" content="en"/>

  <style type="text/css">
  body {
    font-family      : sans-serif;

    color            : black;
    background       : white;

    max-width        : 40em;
    padding          : 2em 2em 2em 3em;
    margin           : 0 0 0 0;
  }

  h1, h2, h3, h4, h5, h6 {
    font-family      : sans-serif;
    font-weight      : 500;
  }

  h1 { font-size     : 170%; }
  h2 { font-size     : 125%; }

  ul.toc li {
    padding          : .4em 0em 0em 0em;
  }

  ol.multiline li {
    padding-top      : 0.6em;
    padding-bottom   : 0.6em;
  }

  </style>

</head>

<body>
<h1>CIAO CIDL compiler README</h1>
<p>Before continuing, please note that

<a href="http://www.dre.vanderbilt.edu/cidlc/binary/">pre-built binary
executables of CIDL compiler</a> are available for different platforms
The CIDL compiler options are documented <A
HREF="../docs/cidlc.html">here</A>. <P>

<p>The C++ source files in this directory are compiled into the
code generators and driver for the CIAO CIDL compiler. CORBA
Compiler Framework (CCF) provides the front-end for the compiler.
To build CIDL compiler you will need to compile CCF libraries
first. Please refer to <a href="../CCF/Documentation/Build.html">
instructions for building CCF libraries</a>.</p>

<p>After you have compiled the CCF libraries, you are ready to build the
CIDLC compiler. In order to build the compiler, you must generate the
appropriate project files. If there are makefiles, or project solutions,
already in the directory, please disgard them since because they can be
out-of-date, or invalid. To regenerate all project files, type the following
command:
<pre>
%> $ACE_ROOT/bin/mwc.pl -type &lt;project-type&gt; -static -features cidl=1,exceptions=1,boost=1 CIDLC.mwc
</pre>

Once MPC finishes generating the project files, you can now build CIDLC.

<ul>
<li>On Linux/UNIX:
<p>If you are building with a make utility, e.g., gmake, use the following command to build CCF:

<pre>%> gmake cidl=1 exceptions=1 boost=1</pre></p></li>
<li>On Windows: <p>Just open the generated solution file.</p></li>
</ul>
<p><b>Note:</b> If you are building CCF on a Windows platform, use <code>%ACE_ROOT%\bin\mwc.pl</code> instead

<code>of $ACE_ROOT/bin/mwc.pl</code>. Also, for a list of project types and other command-line options
supported by MPC, type <code>$ACE_ROOT/bin/mwc.pl --help</code>.</p>

</body>
</html>