Many platforms have the C++ runtime and the C++ standard library as a
static library (probably because the C++ ABI is not as stable as it
should be...). I think this applies to both Mac OS and to Windows
[mingw32], perhaps it's the same with Solaris.
If that is the case, it would explain the problem, I think.
GHCi can't load static libraries [yet - the ar format shouldn't be too
difficult to implement], so everything that's needed from static
libraries has to be linked into the ghc binary and probably also listed
in Linker.c (who else doesn't like those hard-coded symbol references?)
Just my EUR 0.02 :-)
Cheers,
Wolfgang
_______________________________________________
Glasgow-haskell-users mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users
- FFI & C++ Niklas Sörensson
- Re: FFI & C++ Alastair Reid
- RE: FFI & C++ Simon Marlow
- RE: FFI & C++ Seth Kurtzberg
- RE: FFI & C++ Niklas Sörensson
- Re: FFI & C++ Wolfgang Thaller
- Re: FFI & C++ Seth Kurtzberg