[EMAIL PROTECTED] writes:

> how can the application check (e.g. look
> for a libstdc++ versioning symbol) if the "first" libstdc++ has
> already explicitly loaded and thereby skip explicit loading of the
> "second" libstdc++.

The answer is generally OS-specific, and you haven't revealed what
your target OS is.

On Linux with recent glibc versions, us dl_iterate_phdr().
On older Linux versions, and Solaris, use _r_debug.r_map.
HP-UX has shl_get_r()
AIX has loadquery(L_GETINFO, ...)

Other OSes probably have equivalent routines.

Cheers,
-- 
In order to understand recursion you must first understand recursion.
Remove /-nsp/ for email.
_______________________________________________
help-gplusplus mailing list
help-gplusplus@gnu.org
http://lists.gnu.org/mailman/listinfo/help-gplusplus

Reply via email to