Seems to be something wrong with offsetof in anroid ndk.
A quick hack fix for me was replacing offsetof with __builtin_offsetof
in all occurences in utils/hsc2hs/CrossCodegen.hs
On 01/09/2013 12:55 AM, Nathan Hüsken wrote:
Hey,
when trying to build ghc for android, I get this error
Hey,
On my attempts to build a android crosscompiler. During the command. I
get this error (in the final phase):
inplace/bin/ghc-stage1 -static -H32m -O-package-name
integer-simple-0.1.1.0 -hide-all-packages -i
-ilibraries/integer-simple/.
-ilibraries/integer-simple/dist-install/build
As mention in a previous message, when trying to build a cross compiler
for android, I get:
make[1]: *** No rule to make target `compiler/stage2/build/Module.hi',
needed by `utils/haddock/dist/build/Main.o'. Stop.
Looking at the output for the build for arm-unknown-nto-qnx8.0.0eabi, it
does not
Hey,
I am trying to get the blackberry crosscompile to work. Maybe I find
something on the way helping me to get android to work.
I get until the same error messages as here:
http://www.haskell.org/pipermail/cvs-ghc/2012-December/079035.html
(which contain contain x86 assembly).
I can not find
Hey,
when trying to build ghc for android, I get this error in
libraries/haskeline/./System/Console/Haskeline/Backend/Posix.hsc
Posix.hsc: In function '_hsc2hs_test15':
Posix.hsc:75:39: error: invalid application of 'sizeof' to incomplete
type 'struct winsize'
Posix.hsc: In function
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
On 01/03/2013 08:14 PM, Stephen Paul Weber wrote:
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
iconv?
Thanks!
Nathan
[1]: http://web.archiveorange.com/archive/v/j7U5dAvNego9GwzeIPFn
On 01/04/2013 03:47 PM, Stephen Paul Weber wrote:
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
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
10 matches
Mail list logo