Hi,

I just made a change in the dynamic loader wrapper in cxxtools.

The dynamic loader wrapper used to use libltdl from the libtool-package, which 
claims to solve platform specific issues. After several problems with libltdl 
I decided to default to dlopen/dlsym. Both variants were in cxxtools already 
selectable by a configure-switch --with-libtool=yes|no.

The problems I had were:
- on cygwin it did not work at all - it may work, if used correctly, but I 
don't know how.
- on linux dlopen needs the RTLD_GLOBAL-flag to dlopen to make rtti and 
exceptions working
- on aix shared libraries has the extension .a by default, which is not used 
by libltdl

I uploaded a cxxtools-snapshot. You can download it at 
http://www.tntnet.org/download/cxxtools-1.4.5.20070916-1.tar.gz.

It would be great, if you test this snapshot especially on solaris, freeBSD 
and MacOSX, since I have currently no machines available with these systems. 
The demo demo/dlloader uses that dynamic loader code, although does not test 
exceptions. Tntdb and also tntnet uses the code too.

Tommi

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Tntnet-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tntnet-general

Reply via email to