SilvioCVdeAlmeida <[EMAIL PROTECTED]> writes:
>Things are walking here. Now I worry about this:
>
>Nick Ing-Simmons wrote:
>> It it really fails at "make test" stage then you probably need
>> LD=g++ or similar to link in the iostream etc.
>> Note that not all C++ implementations are dynamic loading friendly.
>> e.g. if you load a C++ extension and root executable isn't C++
>> (and perl isn't) then static constuctors for 'cout' may not have
>> been called.
>
>In CookBookB/CCsimple (CPAN/authors/id/DMR/), mentioned in Keiser's
>tutorial, there's a note about a way to properly "add" C++ loading
>capability into the C perl binary. (I confess I didn't fully understand
>that, though, too much confusion about static/dynamic C/C++ linkage.)

It is messy.

It is not a problem on Win32, or any gcc platform that uses 'ELF' as
object format (so modern Linux and Solaris are fine).


Reply via email to