What about providing a package (binary only distribution) and a port?
And the port could include the possibility to bootstrap the
installation.

See the handbook on how to build a package.

Nick


On Sun, 12 Sep 1999, Simon Marlow wrote:

> [originally sent to ports, resending to hackers at the suggestion of someone
> on that list.]
> 
> Hi Folks,
> 
> I'd like to make a port for our Haskell compiler, GHC (see
> http://research.microsoft.com/users/t-simonm/ghc).  There are some subtle
> problems with this:
> 
>       - GHC depends on itself.  That is, you need GHC
>         installed in order to build GHC.
> 
>       - GHC depends on Happy, our parser generator.
>       
>       - Happy depends on GHC (it's written in Haskell).
> 
> So, one solution would be to provide a binary port, say ghc-bin, which would
> install a binary distribution.  I checked the modula-3 port, and it doesn't
> seem to have a binary port, so what's the accepted way of doing this?
> 
> It's possible to bootstrap GHC from intermediate C files, but it's a bit
> fiddly and I'd prefer not to do this if possible.  However, one thing that
> occurs to me is that the port could bootstrap itself from C if you say 'make
> BOOTSTRAP=YES', and otherwise attempt to build using an installed GHC.
> 
> Any thoughts greatly appreciated.
> 
> I'm not on this list, BTW.
> 
> Cheers,
>       Simon
> 
> 
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-hackers" in the body of the message
> 
> 

-- 
e-Mail: [EMAIL PROTECTED]



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to