Hello,

I have a perl application calling c soubroutines. I use XS and makemaker to compile the code. Every thing OK.
Now, let say that I have 2 c libraries (dynamics) created by XS and
the makemaker, and I would like that one of the 2 c subroutines calls one of the subroubtine of the other library. In other words, I have 1.so and 2.so which are normally called by master.pl, but I need that one routine of 1.so calls one subroutine of 2.so.
I can do it by setting LIBS = '-llib1' in one on the makemaker file
but this requires to recreate a lib1.so file which is stupid because it
already exists.
How can I tell to one of the .so file that the routine that it needs is
in so.2 (by using the mamkemaker file) ?
I tried to use OBJECT but I was not successfull. I guess that it is a
better idea to keep the library dynamics.

Thank for your help.

--
---
==========================================================================
 Patrick DUPRÉ                      |   |
 Department of Chemistry            |   |    Phone: (44)-(0)-1904-434384
 The University of York             |   |    Fax:   (44)-(0)-1904-432516
 Heslington                         |   |
 York YO10 5DD  United Kingdom      |   |    email: pd...@york.ac.uk
==========================================================================
-- 
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/

Reply via email to