ããããã£ã¦ãªããã ãã©ãã¨ããããåããã®ã§å¿ããªãããã«ã¡ã¢ã (ãã ãããã¯OSXä¸ã§ã®ãã¨ãªã®ã§ä»ã®OSã ã¨ã¨ããã©ããã¹ãªã©ã§éãé¨åãããã¨æã) 1. hoge.xsãä½ã ä»åã¯åç´ã«ããã±ã¼ã¸åãPACKAGENAMEã§ãã¡ã½ããåmethodnameã¨ããã®ã1ã¤ããã ãã®hoge.xsã ã¨ããã 2. xsubppã¨ããã³ãã³ãã§hoge.xsãhoge.cã«å¤æãã typemapãå¿ è¦ãªã®ã§ExtUtilsã®ããã±ã¼ã¸ã®ä¸ã®ã使ãã % xsubpp -typemap /System/Library/Perl/5.8.8/ExtUtils/typemap hoge.xs > hoge.c 3. hoge.cãã³ã³ãã¤ã«ããåã«ppport.hã¨ããã®ãçæãã¦ãã % perl -MDevel::PPPort -e 'Devel::PPPort::WriteFil
{{#tags}}- {{label}}
{{/tags}}