I am trying to build a static library that is implemented in C++ and has a C
API. The resulting .la does not appear to include any information
indicating that the library needs to be either linked with C++ or explicitly
include the C++ runtime libraries. Thus when I try to link a simple test
appl
Was the C API code explicilty marked as C so that the compiler does not
mangle the fucntion names? Check to make sure this is not happening.
Hope this helps,
Harring
On Fri, Jan 15, 2010 at 1:10 PM, Jason Kraftcheck wrote:
> I am trying to build a static library that is implemented in C++ and
Harring Figueiredo wrote:
> Was the C API code explicilty marked as C so that the compiler does not
> mangle the fucntion names? Check to make sure this is not happening.
>
Thanks for taking the time to reply. Unfortunately, the problem isn't this
simple. I have marked the function names as 'e
On Fri, 15 Jan 2010, Jason Kraftcheck wrote:
I am trying to build a static library that is implemented in C++ and has a C
API. The resulting .la does not appear to include any information
indicating that the library needs to be either linked with C++ or explicitly
include the C++ runtime librar
Hello Jason,
* Jason Kraftcheck wrote on Fri, Jan 15, 2010 at 07:10:21PM CET:
> I am trying to build a static library that is implemented in C++ and has a C
> API. The resulting .la does not appear to include any information
> indicating that the library needs to be either linked with C++ or expl
Ralf Wildenhues wrote:
> Hello Jason,
>
> * Jason Kraftcheck wrote on Fri, Jan 15, 2010 at 07:10:21PM CET:
>> I am trying to build a static library that is implemented in C++ and has a C
>> API. The resulting .la does not appear to include any information
>> indicating that the library needs to b
On Fri, 15 Jan 2010, Jason Kraftcheck wrote:
Linking with the C++ compiler would address my immediate problem of linking
my test code, by still produces a library intended to be linked with C code
that requires using the c++ compiler to link. I had hoped that libtool's
.la files would provide t