On Nov 12, 2004, at 10:45 PM, Chris Nandor wrote:

At 2:11 +0100 2004.11.13, Tommy Nordgren wrote:
I'm learning MacPerl, and is currently trying to find out how to call
C modules from MacPerl.
I've generated the h2xs tool from h2xs.PL, and generated a test project
Mytest.
However, when I try perl Makefile.PL to generate a makefile under the MPW
environment, I get a makefile that is incompatible with the MPW make tool.
How can I fix this?

The way I do it is to set up the MacPerl build environment as per:

        http://dev.macperl.org/?build

And from there I just drop in an XS module and build. Kinda messy, but
works for me. Thomas Wegner has an XS tutorial, however, which might be
better:


http://usemacperl.esmartweb.com/

I wrote a command-line-driven tool for building classic software. Would anyone be interested in using that if it had XS support?


Of course, most of us now use Mac OS X, where building is much simpler. :-)

How do you figure that? Mac OS X actually makes it *harder* to script ToolServer correctly. :-)


Josh

--
Joshua Juran
Metamage Software Creations - Mac Software and Consulting
http://www.metamage.com/

               * Creation at the highest state of the art *




Reply via email to