Tao User Guide-IDL Compiler

Source: Internet
Author: User
The IDL compiler name of Tao is: tao_idl.exe. debug is located in the ace_wrappers/bin directory,
Release is located in the ace_wrappers/bin/releasedirectory, and the file name is still tao_idl.exe.

1. generated file:
*. The files generated after the IDL file is compiled are composed of file names and suffixes. The types include:

Description of the generated file format (default) Remarks
---------------------------------------------------------------
Customers stubs * C. H, * C. cpp, and * C. I
Server skeletons * S. H, * S. cpp, * s. I
The server skeleton (TIE) * s_t.h, * s_t.cpp, and * s_t. I can be removed using the-SC switch.
Implementation class files * I. H, * I. cpp do not generate these files by default, you need to use
-Gi Switch
---------------------------------------------------------------
Note: the format of the generated file (such as the suffix and extension) can be controlled by the command line switch.

2. tao_idl compilation options:
Enter the command
Tao_idl-u
A detailed description of the IDL compilation options will appear.

Although there are many compilation options for the Tao IDL compiler, there are only a few commonly used.

-SC: Implement without generating tie classes
-WB, pch_include = stdafx. H. Each CPP file generated will contain # include "stdafx. H"
-Gi: generate an empty implementation class.
-Idir: Specifies the search path of the IDL compiler.

Note that the compilation options are case sensitive.

Note:
It is found that when compiling the IDL file, the # define, # ifdef, # endif and other lines in the IDL file must be
The first column starts. Otherwise, the compiler reports an error.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.