[Haskell-iPhone] Hey Stephen - more on cross compiling

Stephen Paul Weber singpolyma at singpolyma.net
Tue Nov 20 03:41:39 CET 2012


Somebody claiming to be Stephen Paul Weber wrote:
>Somebody claiming to be Stephen Paul Weber wrote:
>>But it seems like maybe the configure flags are just not all being 
>>passed through to integer-gmp, so maybe it could work as well.  Not 
>>sure what the tradeoffs are?
>
>Seems like it's not just integer-gmp that isn't being passed the 
>configure flags:

I tried running the configure step on base by hand, passing in the build and 
target flags, and that succeeded, but now when I run make I get:

CROSS_COMPILE="i486-pc-nto-qnx8.0.0-" "inplace/bin/ghc-cabal" configure 
--with-ghc="/home/singpolyma/src/ghc-7.7.20121119-src/ghc-7.7.20121119/inplace/bin/ghc-stage1" 
--with-ghc-pkg="/home/singpolyma/src/ghc-7.7.20121119-src/ghc-7.7.20121119/inplace/bin/ghc-pkg"  
--enable-library-vanilla --disable-library-profiling --disable-shared 
--disable-library-for-ghci --configure-option=CFLAGS=" -fno-stack-protector   
" --configure-option=LDFLAGS=" -Wl,--hash-size=31 
-Wl,--reduce-memory-overheads  " --configure-option=CPPFLAGS="   " 
--with-gcc="/home/singpolyma/bbndk/host_10_0_9_52/linux/x86/usr/bin/i486-pc-nto-qnx8.0.0-gcc" 
--configure-option=--with-cc="/home/singpolyma/bbndk/host_10_0_9_52/linux/x86/usr/bin/i486-pc-nto-qnx8.0.0-gcc" 
--with-ar="/usr/bin/ar" --with-ranlib="true"   -- dist-install 
libraries/filepath
Configuring filepath-1.3.0.1...
ghc-cabal: At least the following dependencies are missing:
base >=2 && <5
make[1]: *** [libraries/filepath/dist-install/package-data.mk] Error 1
make: *** [all] Error 2

So, that didn't work out quite right.  I also tried making just in the 
directory for base and I get the same thing.

-- 
Stephen Paul Weber, @singpolyma
See <http://singpolyma.net> for how I prefer to be contacted
edition right joseph



More information about the iPhone mailing list