[Ericsson Utvecklings AB]

1 Using the IC Compiler

1.1 Introduction

The IC application is an Erlang implementation of an IDL compiler. Several back-ends are supported. The IDL compiler generates server behaviors and client stubs according to the IDL-to-Erlang mapping. Interface inheritance is supported. The compiler also performs a limited subset of the IDL semantic checks.

Six back-ends are currently supported:

While the first back-end (IDL to Erlang CORBA) is intended for pure CORBA functionality, the rest are specially designed to allow portable and efficient links between different languages and virtual machines.

1.2 Compiling IDL Files

The compiler is used by calling ic:gen/1 or ic:gen/2 functions in an Erlang shell:

Example compiling a file example.idl:

1.3 Compiler Configuration

There are a number of compiler options available to the user, which can be configured by either:

Please read the manual page for information about valid options and use of the configuration file.


Copyright © 1991-2002 Ericsson Utvecklings AB