porting ghc-6.4 to x86_64

Andrei A. Voropaev av at simcon-mt.com
Wed Mar 23 07:06:51 EST 2005


On Wed, Mar 23, 2005 at 09:26:26AM -0000, Simon Marlow wrote:
> On 23 March 2005 09:18, Andrei A. Voropaev wrote:
> 
> > Sorry. Forgot to ask the next question on this process. Now that I
> > have unregistered compiler, how do I build the registered one?
> >
> > I've tried to start with new tree and then run
> > 
> > ./configure --with-ghc=T/ghc/compiler/ghc-inplace
> > make
> 
> Yes, that should do it.  Except that x86_64 doesn't have support for
> object splitting yet, so you need to add a file mk/build.mk with the
> line:
> 
>   SplitObjs=NO
> 
> to turn off splitting.
> 
> For some reason that I don't quite understand, it seems from the error
> message that you posted the compiler is attempting to generate code for
> -split-objs, which is causing the assembler to fall over.  Turning off
> splitting should fix that anyway.

That did the trick. Now I have the ghc on x86_64. Thank you for help!

-- 
Minds, like parachutes, function best when open


More information about the Glasgow-haskell-users mailing list