Re: Building ghc on raspberry pi.

2013-01-13 Thread Neil Davies
Understood

I've got another RPi supposed to arrive this week - would more computation 
power help anyone out there?

Neil

On 13 Jan 2013, at 15:59, rocon...@theorem.ca wrote:

> On Sun, 13 Jan 2013, Neil Davies wrote:
> 
>> Sounds like we're close - I must admit I've slightly lost track of the 
>> things that need to be done.
>> 
>> Can we start collecting the pre-conditionds and steps, when each complete 
>> build takes best part of a day, its difficult to keep the context.
>> 
>> So - taking the ghc 7.4.1 that is part of raspian wheezy (pkg version 
>> 7.4.1-4+rpi1) which depends upon (amongst others) llvm-3.0 (pkg version 
>> 3.0-10), can we capture the changes?
>> 
>> 
>> Which version of LLVM is being used?
> 
> I'm using LLVM 3.1 and gcc 4.6.3 and ghc 7.4.1.
> 
>> Which ghc source(s) are you starting from?
> 
> ghc-7.6.1 with 
> http://hackage.haskell.org/trac/ghc/attachment/ticket/5914/0001-add-support-for-ARM-hard-float-ABI-fixes-5914.patch
> applied, fixing the hunks in compiler/main/DriverPipeline.hs by hand.
> 
>> What files did you need to touch in the make process?  Please supply diffs
> 
> I've been fiddling with various parmameters in mk/build.mk.
> 
>> Anything else?
> 
> I haven't got it compiling yet.
> 
> Oh I'm currently using the raspian distriubtion with uses the hard-float ABI, 
> but my end-goal is to bootstrap a nix package.
> 
> -- 
> Russell O'Connor  
> ``All talk about `theft,''' the general counsel of the American Graphophone
> Company wrote, ``is the merest claptrap, for there exists no property in
> ideas musical, literary or artistic, except as defined by statute.''


___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users


Re: Building ghc on raspberry pi.

2013-01-13 Thread roconnor

On Sun, 13 Jan 2013, Neil Davies wrote:


Sounds like we're close - I must admit I've slightly lost track of the things 
that need to be done.

Can we start collecting the pre-conditionds and steps, when each complete build 
takes best part of a day, its difficult to keep the context.

So - taking the ghc 7.4.1 that is part of raspian wheezy (pkg version 
7.4.1-4+rpi1) which depends upon (amongst others) llvm-3.0 (pkg version 
3.0-10), can we capture the changes?


Which version of LLVM is being used?


I'm using LLVM 3.1 and gcc 4.6.3 and ghc 7.4.1.


Which ghc source(s) are you starting from?


ghc-7.6.1 with 
http://hackage.haskell.org/trac/ghc/attachment/ticket/5914/0001-add-support-for-ARM-hard-float-ABI-fixes-5914.patch

applied, fixing the hunks in compiler/main/DriverPipeline.hs by hand.


What files did you need to touch in the make process?  Please supply diffs


I've been fiddling with various parmameters in mk/build.mk.


Anything else?


I haven't got it compiling yet.

Oh I'm currently using the raspian distriubtion with uses the hard-float 
ABI, but my end-goal is to bootstrap a nix package.


--
Russell O'Connor  
``All talk about `theft,''' the general counsel of the American Graphophone
Company wrote, ``is the merest claptrap, for there exists no property in
ideas musical, literary or artistic, except as defined by statute.''

___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users


Re: Building ghc on raspberry pi.

2013-01-13 Thread Neil Davies
Sounds like we're close - I must admit I've slightly lost track of the things 
that need to be done.

Can we start collecting the pre-conditionds and steps, when each complete build 
takes best part of a day, its difficult to keep the context.

So - taking the ghc 7.4.1 that is part of raspian wheezy (pkg version 
7.4.1-4+rpi1) which depends upon (amongst others) llvm-3.0 (pkg version 
3.0-10), can we capture the changes?


Which version of LLVM is being used?

Which ghc source(s) are you starting from?

What files did you need to touch in the make process?  Please supply diffs

Anything else?

Neil
 


___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users