Hi everyone,

I'm trying to create a Fink package for GHC (Glasgow Haskell Compiler), which I require for my Computing course at Uni, and I was just wondering how to go about doing it... From what I've looked at, it actually requires a version of GHC or a haskell compiler already installed to actually compile GHC itself, which poses a bit of a problem.

There's a .dmg version of it available, put out by Wolfgang Thaller, but weighs in at 20Mb... which is pretty hefty. I spoke to him about it, and he said that bootstrapping GHC without a pre-existing installation is very time-consuming and complicated, and strongly suggested I grab a binary of another version and go from there... The only problems are, where do I get the binaries, and licensing issues.

Firstly, the only place I can think of that would have the binaries is the .dmg file, which is too big to download by itself. Alternatively, I could take the binary from the installed package and tar it up to be put onto the Fink servers.

However, this poses another problem... would this be disobeying the license that GHC is distributed under? It's located here: http://www.haskell.org/ghc/license.html

I'm not quite sure how to go about doing this... If it's legal, could I take the binary, repackage it into another archive and then create a package for that, in order to bootstrap the GHC compiler itself? Of course, the binary could always be repackaged as a Fink package, but it wouldn't take advantage of the dependencies, and wouldn't be compiled on the computer itself.

Can anyone offer any suggestions?

Thanks a lot!



-------------------------------------------------------
This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com
_______________________________________________
Fink-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to