Displaying 1 result from an estimated 1 matches for "tp24103450p24128342".
2009 Jun 20
1
[LLVMdev] How to call C++ code from LLVM
On Sat, Jun 20, 2009 at 07:17:50AM -0700, pablogreen wrote:
> Normally in C++ I do this:
> g++ -fPIC -c mylib.c
> g++ -shared -o libmylib.so mylib.o
Try compiling with GCC in C mode because C++ mangles the names
(e.g. to support overloading).
--
Felipe.