[Haskell-cafe] Distributing a program with support files

Neil Mitchell ndmitchell at gmail.com
Tue May 29 06:43:32 EDT 2007


Hi Isaac

> Why?  If it's a binary package, the IO will return the compiled-in path,
> which on the same distribution/whatever, should be the correct path.  In
> particular, on Windows, I assume that the IO returns something that is
> in fact relative to the current position of the executable at the time
> of its running (am I wrong?)

Yhc has cross-platform bytecode. Thats pretty useless if people are
going to have to recompile anyway...

On Windows the path is relative to the current binary, but not
relative in a good way - in practice if you haven't installed it in
"C:\Program Files" a precompiled binary isn't going to work.

Thanks

Neil


More information about the Haskell-Cafe mailing list