.
contact contact


dllcc utility

» Usage | Examples | See also
 
.
  The dllcc utility obtains a list of DLL functions and their prototype from C source code and generates interface code to allow calling from the Eloquence language.

Usage

usage: dllcc [options] {-|files ...}
options:
 -help   = show usage (this list)
 -l      = output source listing
 -o file = output file name, default is stdout
Specifying input file '-' will force reading from stdin
The dllcc utility parses the specified C source files to obtain a list of DLL functions and their prototypes. It then generates interface code to allow calling from the Eloquence language. The interface code is compiled and linked with the Eloquence dll library to create the Eloquence DLL.

The options are:

-help
The -help option displays a brief help text.

-l
Output source listing.

-o file
Output file name, defaults to stdout.

Examples

The example below parses the file sample1.c and sample2.c. It then creates the interface file sampleif.c.
dllcc -o sampleif.c sample1.c sample2.c
The example below passes the results through the C preprocessor and then parses the result.
cc -E sample*.c | dllcc -o sampleif.c -

See also

Language manual, chapter 14 "Integrating C Functions (DLL)"


 
 
 
  Privacy | Webmaster | Terms of use | Impressum Revision: 2013-04-17  
  Copyright © 1995-2024 Marxmeier Software AG