On 1/15/07, Pablo Martin <[EMAIL PROTECTED]> wrote:
> Sorry, I think i didn't describe the actual problem appropriately. The
> problem is just that blpython includes both _cspace.so and _blcelc.so by
> initing those modules internally. Both python module dlls get linked in
> the plugins (cspython.so and blpython.so).
> In the new situation to get the same result, we'd have to link in all
> the modules dlls (_csutil.so, _cstool.so...). It is not clear to me
> whether this is the best approach as it seems to me linking all the new
> modules into these plugins will get us back to the linking problems, so
> maybe this approach of linking in the language specific module dll into
> the cs plugin has to be discarded, and instead depend on distributing
> the python modules also, ie the cspace/ folder i was talking about
> before with all .py and .dll files (and same for other language plugins
> if they're doing this possibly).

As for the linking problem, it depends upon its exact nature. If the
issue is that the total number of symbols in the overall link-set is
too large or that some of the internal offsets are too large, then
indeed the problem should still manifest. If, on the other hand, the
issue is just that the one library contains too many symbols or has
too-large offsets, then linking instead against the smaller libraries
should help. Testing is required.

As for the second approach, I suppose that the issue could be hidden
from clients. Rather than linking libraries directly into the CS
Python plugin, ditch the library altogether and have the plugin load
the CS Python extension as it would any other Python extension, and
interact with it as needed. The fact that the binding code presently
is linked into the CS plugin is an implementation detail about which
the clients should not have to care or know. They just interact with
the plugin via the iScript interface.

-- ES

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Crystal-main mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/crystal-main
Unsubscribe: mailto:[EMAIL PROTECTED]

Reply via email to