Bill Moseley <[EMAIL PROTECTED]> writes: >At 05:30 PM 05/20/02 +0100, Nick Ing-Simmons wrote: >>>If I copy the .xs code into a main {} block and build a stand-alone C >>>program it works fine everyplace. >> >>Static linking the extension into perl should also work. > >Hum, not exactly sure what you are suggesting. > >My work with xs has been rather straight forward in the past, following >h2xs's setup and filling in the blanks. I haven't had such a difficult >situation before. > >But this is suppose to be a CPAN module, so I would hope that it could be >built like a normal module. If there's a but in aspell/pspell I could >supply a patch, but asking people to rebuild perl might be much. > >Kind of sounds like I'm out of options. Is that your thinking?
It works on linux/solaris and probably elsewhere with modern C++ systems. Anything which mixes C++, exceptions and dynamic loading is not going to be as portable as perl (which is just ANSI C). > > >Thanks very much, -- Nick Ing-Simmons http://www.ni-s.u-net.com/