On Thu, Mar 18, 2010 at 11:21 PM, Shmuel Fomberg <[email protected]> wrote: > > Hi Gaal. > > <sorry for replying to this message after so long, but I just tried to > use it> > > I tried to install FFI::Library, but failed to build / install ffcall. > does anyone knows where I can download a compiled version for Windows?
What's your environment? I think cygwin has ffcall, and I seem to remember managing to build it from source with the free MSVC and maybe even Strawberry Perl. Sorry, I no longer have a Windows development environment myself. > Also, about Inline::C, how do I tell it "give me all the functions in > this header file"? > I have a compiler on the target PC, so it is not a problem. > > I haven't tried P5NCI yet. > > Thanks for the info, > Shmuel. > > Gaal Yahas wrote: > > Inline::C works. It may be tricky to deploy, you need a compiler where > > you run it. > > > > P5NCI generates a lot of code, but possibly is the best tested/proven > > of the lot(?). > > > > FFI::Library is designed for your situation, calling C from Perl. It's > > not fully automatic nor foolproof (if you make a mistake in the > > signatures, you'll crash). It also requires you install ffcall. > > > > I've not used Pike. > > > > 2010/2/13 Shushu Inbar שושו ענבר <[email protected]> > >> If I recall correctly Gaal (RU Here?) showed me something like that > >> few years ago. I think it was Inline::C, but I am not sure about it. > >> > >> On Sat, Feb 13, 2010 at 00:29, Boris Reitman <[email protected]> > >> wrote: > >>> also Look at Pike, it is perl inside C++ > >>> > >>> 2010/2/12 Yuval Kogman <[email protected]>: > >>>> Apart form Inline::C, also look into: > >>>> > >>>> http://search.cpan.org/perldoc?FFI::Library > >>>> > >>>> and: > >>>> > >>>> http://search.cpan.org/perldoc?P5NCI > >>>> _______________________________________________ > >>>> Perl mailing list > >>>> [email protected] > >>>> http://mail.perl.org.il/mailman/listinfo/perl > >>>> > >>> _______________________________________________ > >>> Perl mailing list > >>> [email protected] > >>> http://mail.perl.org.il/mailman/listinfo/perl > >> _______________________________________________ > >> Perl mailing list > >> [email protected] > >> http://mail.perl.org.il/mailman/listinfo/perl > > > > > > > > -- > > Gaal Yahas <[email protected]> > > http://gaal.livejournal.com/ > > _______________________________________________ > > Perl mailing list > > [email protected] > > http://mail.perl.org.il/mailman/listinfo/perl > > _______________________________________________ > Perl mailing list > [email protected] > http://mail.perl.org.il/mailman/listinfo/perl -- Gaal Yahas <[email protected]> http://gaal.livejournal.com/ _______________________________________________ Perl mailing list [email protected] http://mail.perl.org.il/mailman/listinfo/perl
