Cross-compiling GHC for ARM (RPi)
mz.bremerhaven at gmail.com
Sun Nov 30 23:43:29 UTC 2014
-----BEGIN PGP SIGNED MESSAGE-----
I'm having some trouble cross-compiling GHC (or just making a
cross-compiler, which is what I am trying to do for now).
I got my toolchain through crosstool-ng. I just took the
arm-unknown-linux-gnueabi sample and disabled the "render the toolchain
Unfortunately nt-ng does not come with ncurses, so I also compiled and
installed that. I set the prefix to
where ~/x-tools/arm-unknown-linux-gnueabi is where my toolchain is located.
I copied the mk/build.mk.sample file to mk/build.mk and uncommented the
quick-cross option. I left everything else as-is.
After configuring I executed make, which runs for quite a while but
eventually it complains about not being able to find the curses headers.
What do I do to fix this? I wouldn't mind using a different toolchain if
I can get it to work, so I am open for anything.
Configure summary of ncurses and last lines of output of make:
I hope you can help me resolve this, I've been trying to do this for a
long time now :/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
-----END PGP SIGNATURE-----
More information about the ghc-devs