Neat, thanks for that tip Peter. It looks like mkbundl does
everything I do manually, and more. But just for the record, in case
anyone (Scott?) wants to do it the hard way... :)
1. Download the macosx-app shell script from wxhaskell. Make it
executable (i.e. "chmod a+x macosx-app")
2. Run "macosx-app [executable-filename]", e.g. "macosx-app Playground"
3. Run "open [generated app directory]", e.g. "open Playground.app"
I also blogged about it here.
Duane Johnson
http://blog.inquirylabs.com/
On Mar 24, 2009, at 4:48 PM, Peter Verswyvelen wrote:
On Tue, Mar 24, 2009 at 11:35 PM, Scott A. Waterman <[email protected]
> wrote:
Duane -
yes, please. I've been wondering how to compile to a Mac .app
structure.
http://hackage.haskell.org/cgi-bin/hackage-scripts/package/mkbndl
Also, anyone have any hints about distributing Haskell apps for mac,
when you know the target will certianly *not* have a GHC environment
on it?
GHC statically links everything, so you don't need the GHC
environment to run the app.
Thanks
--ts
On Mar 21, 2009, at 2:18 PM, Duane Johnson wrote:
I've had issues with ghci and opengl... I usually have to compile my
programs before they will run. I'm not sure why that's the case,
but I too get strange window behavior (sometimes it freezes, other
times it doesn't even show up).
If you're on a Mac and would like help compiling to a .app folder,
let me know and I can post how I did that.
Regards,
Duane Johnson
http://blog.inquirylabs.com/
_______________________________________________
Haskell-Cafe mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell-cafe
_______________________________________________
Haskell-Cafe mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell-cafe