At 0:37 Uhr -0500 22.11.2001, AgentM wrote:
>From examples given in from the source code and after reading perlxstut, I was able
>to code up some perlxs for a Mac Toolbox lib. Are there instructions anywhere on the
>specific steps to get XS to compile for Macintosh? Do ExtUtils::MakeMaker and xsubpp
>function reliably on Macintosh? (Is there a droplet I can drop the .xs on so I can
>continue living my lazy and mediocre existence?) Thanks in advance for any info.
>--
>---------------
>AgentM
>[EMAIL PROTECTED]
It's a bit harder than dropping something on a droplet ... but not too hard :).
There's a tutorial, written originally by Arved Sandstrom and Alan Fry:
http://www.macperl.com/depts/Tutorials/XS/Mac_XS.sea.hqx .
This package contains tools, examples and the tutorial in various formats. I've
slightly updated the tutorial (HTML only), which can be found on my website at
http://usemacperl.esmartweb.com/index.html .
Sooner or later you might want to take a look at Dean Roehrich's CookBook A and
CookBook B
$CPAN/authors/Dean_Roehrich/
All other docs you need for XS programming (perlxstut, perlxs, perlguts, perlapi etc.)
should come with your (Mac-)Perl distribution. You will need, of course, the MacPerl
source distribution. I highly recommend that you start with MacPerl 5.6.1, not the old
MacPerl 5.004 sources. We've just got the 5.6.1 beta 2 (thanks, Chris :) for playing;
see
http://dev.macperl.org/
HTH.
Best regards,
--Thomas
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com