logo       

Re: wrapping static libraries: msg#00127

programming.swig

Subject: Re: wrapping static libraries

read the ICC compiler, and look for the -fpic, -fPIC or -kPIC option.

to build a shared library, you need to add the PIC flag.

marcelo


Scott Murman wrote:

i'm trying to wrap a 3rd-party static library on an IA64 system. the intel compilers are complaining that the static library is not compiled with PIC, so that i can't build a shared library that perl can load at runtime. is this a general limitation, or something more specific to these compilers? are there possible solutions?

-SM-

_______________________________________________
Swig maillist - Swig@xxxxxxxxxxxxxxx
http://mailman.cs.uchicago.edu/mailman/listinfo/swig


_______________________________________________
Swig maillist - Swig@xxxxxxxxxxxxxxx
http://mailman.cs.uchicago.edu/mailman/listinfo/swig



<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise