Hello,

I used to build dynamic libraries in c (.so) that I can then call
from perl. However, in c the static libraries are more efficient
than the dynamic libraries.
So can I call a static c library from perl ?

for the dynamics library, in my Makefile.PL, I put:
    LIBS                => ['-lm -lg2c -L/lib/mylib -lcwerf'],

What should I say to my writemakefile to link with a static lib ?

Thank.

--
---
==========================================================================
 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