Somebody claiming to be Simon Marlow wrote:
Ok, new wiki page is here: http://hackage.haskell.org/trac/ghc/wiki/Building/CrossCompiling
Is: --with-gcc=<gcc> --with-ld=<ld> --with-nm=<nm> --with-objdump=<objdump>Necessary? I guess if the given tools are not on PATH with the normal cross-compiling prefix?
Please edit away. In particular I haven't investigated cross-compiling with LLVM
That's a bit broken right now (since GHC doesn't pass through the target to LLVM), but otherwise just involves having an LLVM that supports the target on PATH.
Also: cabal --with-ghc=<cross-ghc> --with-ld=<ld> ...What does this do? So far I've been careful to use a seperate ~/.cabal-blah directory to not entangle my two cabals. Will it handle things nicely? Do you need to tell it where to find ghc-pkg, or will --with-ghc work for that? Maybe I can switch to just a script/alias instead of a whole config file :)
-- Stephen Paul Weber, @singpolyma See <http://singpolyma.net> for how I prefer to be contacted edition right joseph
signature.asc
Description: Digital signature
_______________________________________________ ghc-devs mailing list ghc-devs@haskell.org http://www.haskell.org/mailman/listinfo/ghc-devs