On Tue, Feb 12, 2002 at 09:57:59AM +0000, Vivek wrote: > On Mon, 11 Feb 2002, Jerry Beckmann wrote: > > Quick question, using perl xs can I statically link the library that I am > > trying to use? Something the marketing people asked, and I don't think it is > > possible, but just want to get confirmation from the experts first. > > I believe you can - this will produce a dynamic Your/XS/Module.so which > will itself be statically linked against libfoo.a - I seem to recall doing > this accidentally at some point.
And depending on the platform this will either - Work, but not share code (that is, the code will be dynamically loadable, but not shared if several processes do it at the same time). Linux on i386 works like this. - Not work at all. Unfortunately I don't know any examples of platforms where this happens. -- Bart.
