Scott McMillan (scott++at++er)
Tue, 7 May 1996 14:31:54 -0400 (EDT)
I am guessing that even in libpfdu.a's version of pfLoadFile it is doing a
dlsym and dlopen after it parses the filename and then dynamically linking in
the appropriate loader...(it defeats the purpose of linking statically,
IMHO).
With this assumption, what I have to do to get around this is to
bypass the pfdLoadFile function, parse the input file names myself, call the
appropriate loader directly (e.g., pfdLoadFile_iv) using a case/switch or
whatever, and make sure that during the link phase, I include every static
libpfdb library that I account for in my case statement (e.g., libpfiv.a).
Am I right?
If so, couldn't this have been done in libpfdu.a, in the first place?
--
Scott McMillan, Ph.D. Email: scott++at++ht.com
Senior Scientist
------------------------------------------------------------
HIGH TECHSPLANATIONS INC. URL: http://www.ht.com
6001 Montrose Road, Suite 902 Phone: (301)984-3706 x250
Rockville, MD 20852-4874 FAX: (301)984-2104
------------------------------------------------------------
Developers of virtual environment medical and surgical
simulations and surgery simulation creation tools.
This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:52:52 PDT