Previous Section Next Section

16.8 Linking with C++ Code

You can integrate C++ code with Specman Elite using the Specman Elite C interface. C++ modifies all the function names by addtion of the argument type and possibly the return type information to the function names. Thus you cannot directly link with C++ code.

There are two ways to overcome this:

After compiling the C++ code, you should be able to integrate it as if it were C code. When integrating C++ code with standalone Specman Elite, you may need to compile the Specman Elite main() function using the same C++ compiler that compiled your C++ code. You can choose your own C++ compiler.

Previous Section Next Section