Somebody claiming to be Nathan Hüsken wrote:
On 01/05/2013 05:20 PM, Stephen Paul Weber wrote:
Somebody claiming to be Nathan Hüsken wrote:
Time.hsc: In function '_hsc2hs_test45':
Time.hsc:266:20: error: storage size of 'test_array' isn't constant
Which Time.hsc?
It is
On 01/05/2013 05:20 PM, Stephen Paul Weber wrote:
Somebody claiming to be Nathan Hüsken wrote:
ghc build stage1 succeeds, stage2 fails with:
IIRC, stage2 does not work with cross-compiling.
Time.hsc: In function '_hsc2hs_test45':
Time.hsc:266:20: error: storage size of 'test_array' isn't
Hey,
OK, I got a lot further.
ghc build stage1 succeeds, stage2 fails with:
Time.hsc: In function '_hsc2hs_test45':
Time.hsc:266:20: error: storage size of 'test_array' isn't constant
But if I understand correctly, that is not so bad because stage1 is
already the cross compiler that I need
Somebody claiming to be Nathan Hüsken wrote:
ghc build stage1 succeeds, stage2 fails with:
IIRC, stage2 does not work with cross-compiling.
Time.hsc: In function '_hsc2hs_test45':
Time.hsc:266:20: error: storage size of 'test_array' isn't constant
Which Time.hsc?
But if I understand
Hey,
OK, I managed to set the sysroot. Now the buil fails with this:
===--- building phase 0
make -r --no-print-directory -f ghc.mk phase=0 phase_0_builds
make[1]: Nothing to be done for `phase_0_builds'.
===--- building phase 1
make -r --no-print-directory -f ghc.mk phase=1 phase_1_builds
Somebody claiming to be Nathan Hüsken wrote:
OK, I managed to set the sysroot. Now the buil fails with this:
Try building ghc-prim with your cross-compiler by hand. Sometimes the GHC
build system eats useful error messages.
--
Stephen Paul Weber, @singpolyma
See http://singpolyma.net for
Hey,
I realized that I forgot to apply one of the patches, sorry for my
blindness.
When I apply all of the patches, I get a different error:
Configuring base-4.7.0.0...
configure: WARNING: unrecognized options: --with-compiler, --with-gcc
checking for gcc...
Hey,
I would like to compile haskell to android using the android ndk.
I saw this message for blackberry:
http://web.archiveorange.com/archive/v/j7U5dAvNego9GwzeIPFn
I thought, well, than it should somehow work for android too.
So I fetched ghc cvs and tried to do something similar as the
Somebody claiming to be Nathan Hüsken wrote:
Now, configure:
./configure --target=arm-linux-androideabi --build=i686-linux-gnu
--host=arm-linux-androideabi
--with-sysroot=/home/ls/src/android-ndk/platforms/android-14/arch-arm
Looking at config.log, it seems the --sysroot is not passed to