
Signature
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
> I develop my perl scripts on OSX but I need to be able to generate
> executables for both OSX as well as windows. They won't need any graphical
> stuff, just a double clickable file that will do its stuff.
>
> Any ideas on what's the easiest way of doing this?
Give the script execute permissions
and rename it with a .command extension?

Signature
Morbus Iff ( you are nothing without your robot car, NOTHING! )
Culture: http://www.disobey.com/ and http://www.gamegrene.com/
O'Reilly Author, Weblog, Cook: http://www.oreillynet.com/pub/au/779
icq: 2927491 / aim: akaMorbus / yahoo: morbus_iff / jabber.org: morbus
Adam Witney - 24 Aug 2005 16:41 GMT
>> I develop my perl scripts on OSX but I need to be able to generate
>> executables for both OSX as well as windows. They won't need any graphical
[quoted text clipped - 4 lines]
> Give the script execute permissions
> and rename it with a .command extension?
Ok for OSX, but this won't work on Windows will it?
Thanks
Adam

Signature
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
Doug McNutt - 24 Aug 2005 18:14 GMT
>Give the script execute permissions
>and rename it with a .command extension?
That's OS neXt only, not peecee. So is this:
It's also possible to make a script into a package that will be double-clickable directly from Finder without involving Terminal.app with a .command extension.
<ftp://ftp.macnauchtan.com/Software/PrepAPPL/ReadMe_PrepAPPL.text> 5 kB
<ftp://ftp.macnauchtan.com/Software/PrepAPPL/PrepAPPL.scr> 3 kB
are an attempt at automating that process for 10.3.
It's also possible, and somewhat easier, to make up an AppleScript application which does nothing more than a "do shell script" pointed to a UNIX executable.
As for Windoze; How about Linux on that box? A Knoppix CD-ROM?

Signature
-->The Creator is the God who provided the void and the rules that matter and energy must live by in order to exist in it. Intelligent designers and engineers create useful stuff while abiding by the rules.<--