Re: Problems building from source: ghc-tarballs

Simon Marlow <[email protected]>
Newsgroups gmane.comp.lang.haskell.cvs.ghc
Message-ID <[email protected]>
Hi Alastair! Welcome back :)

On 04/11/12 11:52, Alastair Reid wrote:

> http://hackage.haskell.org/trac/ghc/wiki/Building/GettingTheSources
> git clone http://darcs.haskell.org/ghc.git/
> git clone ghc ghc-working
> cd ghc-working
> ./sync-all --testsuite --no-dph get

Ian's reply contained the fix, but just in case you didn't grasp what 
happened here, the problem is that you cloned the ghc repo locally to 
ghc-working, so the ghc-working repo's "origin" points back to the ghc 
repo.  Hence when you ran sync-all in ghc-working it was looking for the 
rest of the repos in the same tree as the ghc repo, and not finding them.

> Reason I'm starting with git is that my plan is to relearn how to do
> unregisterized builds using x86/Linux as an example and then see if I
> can figure out how to port ghc to a new architecture.

We're moving towards doing ports with cross-compilation, rather than the 
old method of building .hc files and moving them to the target platform 
to compile them.  I don't think the latter method even works any more. 
Unfortunately the cross-compilation process is not very smooth yet, 
although some people have managed to do it.  Ian is looking into this 
right now, so hopefully he'll be able to provide more info.

Cheers,
	Simon
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.