Hello again,
I still can't get the stage 2 binary, as previous messages show. Should
I manually use the stage 1 compiler to do it, along with GCC
cross-compiler, etc.? Because the page
https://ghc.haskell.org/trac/ghc/wiki/Building/Preparation/RaspberryPi
says that «The build should go
On 09/ 9/15 01:22 PM, jmcf...@openmailbox.org wrote:
So, when doing that, configure works (the logs were for the previous
attempts). But why is that when I try to make, with a working configure,
and a real sysroot, that I get the following error?
$ make -j5
(...)
"inplace/bin/mkdirhier"
Hi, sorry for not sending a CC to the mailing list, works differently
from others I've used
> > $ ls -R /home/jmcf125/ghc-raspberry-pi/sysroot/*
> >/home/jmcf125/ghc-raspberry-pi/sysroot/lib:
> >libcursesw.so libncurses.so libncurses++.so libncurses.so.5@
> >libncurses.so.5.9*
So ghc-stage1 is working. Good! Now just to find why your base is
broken, please rebuild ghc completely and this time does not use any -j
5 option. It'll use just one core, but will stop on the first error.
Let's see how far you get.
Karel
On 09/ 9/15 02:59 PM, jmcf...@openmailbox.org
> How exactly ghc-stage1 behaves? What does ghc-stage1 --info tells you?
$ ../inplace/bin/ghc-stage1 --make HelloWorld.lhs
HelloWorld.lhs:1:1:
Could not find module ‘Prelude’
There are files missing in the ‘base-4.8.1.0’ package,
try running 'ghc-pkg check'.
Use -v to see a list
> So ghc-stage1 is working. Good! Now just to find why your base is broken,
> please rebuild ghc completely and this time does not use any -j 5 option.
> It'll use just one core, but will stop on the first error. Let's see how far
> you get.
Ah. Alright, it took a while longer.
$ ./configure
On 09/ 9/15 04:21 PM, jmcf...@openmailbox.org wrote:
So ghc-stage1 is working. Good! Now just to find why your base is broken,
please rebuild ghc completely and this time does not use any -j 5 option.
It'll use just one core, but will stop on the first error. Let's see how far
you get.
Ah.
On Wed, Sep 9, 2015 at 11:46 AM, Karel Gardas
wrote:
> On 09/ 9/15 04:21 PM, jmcf...@openmailbox.org wrote:
>
>> So ghc-stage1 is working. Good! Now just to find why your base is broken,
>>> please rebuild ghc completely and this time does not use any -j 5 option.
>>>
On 09/ 9/15 05:59 PM, Reid Barton wrote:
This is not weird at all! GHC does not provide ARM NCG and so it is
using LLVM if you compile ARM registerised build.
But "./configure [...] --enable-unregisterised" should mean using the C
backend, not LLVM, right? So this still looks strange.
Okay, I tried with LLVM registerised, I've read about it and the idea sounds
nice.
> What is in your build.mk? Maybe you are using one of the build flavors that
> sets -fllvm explicitly?
Ah, so that was it. I followed Karel's blog, seems back then the
BuildFlavour = quick-cross option he used
Hi,
I have tried to have GHC in my Raspberry Pi, got stuck in the issue 7754
(https://ghc.haskell.org/trac/ghc/ticket/7754), since I didn't know
where to pass options to terminfo's configure file, although I did copy
the headers from my Raspberry Pi. I've been using HUGS ever since, as
Arch Linux
Hi,
I think sysroot option may help you. I wrote something about it for
ARMv8 in the past here:
https://ghcarm.wordpress.com/2014/01/18/unregisterised-ghc-head-build-for-arm64-platform/
Cheers,
Karel
On 09/ 7/15 08:18 PM, jmcf...@openmailbox.org wrote:
Hi,
I have tried to have GHC in my
12 matches
Mail list logo