Re: Android crosscompiler

Stephen Paul Weber <[email protected]> Mon, 7 Jan 2013 10:02:28 -0500
Newsgroups gmane.comp.lang.haskell.cvs.ghc
Message-ID <20130107150228.GB1846@singpolyma-svelti>
--===============3200963296514018416==
Content-Type: multipart/signed; micalg=pgp-sha256;
	protocol="application/pgp-signature"; boundary="8P1HSweYDcXXzwPJ"
Content-Disposition: inline


--8P1HSweYDcXXzwPJ
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Somebody claiming to be Nathan H=C3=BCsken wrote:
>On 01/05/2013 05:20 PM, Stephen Paul Weber wrote:
>> Somebody claiming to be Nathan H=C3=BCsken 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
>libraries/old-time/dist-install/build/System/Time.hs

Weird... the only use of #const there is on a sizeof().  Maybe The full=20
definition of the time structs isn't #included, only the abstract types?

>>> But if I understand correctly, that is not so bad because stage1 is
>>> already the cross compiler that I need (linux->android), correct?
>>
>> Almost.  You need stage1 and the stage1 libraries.
>
>Ok, but when it says "building final phase" should have build stage1
>libraries, right?

Not sure... I'll check again next time I'm building the BB10 one.  It never=
=20
even tries for stage2 IIRC, but I think that has to do with your GHC build=
=20
config.

>How do I build the libraries by themself?

IIRC you can just type make in the library directory.

>When it gets into phase 1, there are a lot of messages like these:
>
>  utils/genapply/ghc.mk:27: utils/genapply/dist/build/.depend.haskell:
>No such file or directory
>
>Looking for where it seems to build base (the output is I believe what I
>posted in [1]), I find a lot of messages like these:
>
>base-4.7.0.0: cannot find any of
>["Foreign/Concurrent.hi","Foreign/Concurrent.p_hi","Foreign/Concurrent.dyn=
_hi"]
>(ignoring)
>any output that tells me why.

Hmm, that sounds strange.  Hopefully an actual GHC dev will know more than=
=20
I :)

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

--8P1HSweYDcXXzwPJ
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iQIcBAEBCAAGBQJQ6uODAAoJENEcKRHOUZze4vsP/0bJv4kebmPDitau1ETe62e/
NQB1ePgwMayIbbcK6snlNNQjUo9YJRDhAJKqew03AyNfn/RYT87DaR98488DhUoW
Z5f6PaPjRPvRyR8AG9DiB32e7+5LsmbP9WeZk+Fn+eEnxZi+Jz333q4A+nfMSJ0l
JIC+ngjDs9CKcTr+TMpgoZQeXKnHEFBEJ4Hw6jw1J4yNuEvl7LJ1GuUnqCzvGjbm
kudxaYjHN0QabHPNpudtKci2sJqShFCFEv9YUnMpMmZMmk8YH2XijjBkRnJSTaYu
5hN9+ztTxmWpxPhENBQ7wI4MI5qbsLIXuNObbdPN1L11zh0igyrmyLHsixUqz+cd
+9VoYfzLsfUA0OXcQJ2GnF6CnnhZ1XVXmH48m6gkcnZnvChPGcRx2pzcjLTYd8qA
pNG8gCJr/0w4sry+VjET728OQ3t3U/QbwXjZz6qi+OPWFtrdni7wx2gbGekXfyI2
m4gUScD0rMWLw6LUHclQphDMNFxJNuHr6iugxtN0RgAkolNXoRl5MfNFe7i4aMWj
X9sPt8YsTSTfISQurymtwXflIF2KRK9IullkyVCqKwjU6gB2XY2RpjP70r2jMbqN
79X5HjQ7aX32Q03h6NAQcOBzUK+aI1ad2GdMuGtR1A8uzJETucsAqeciY2n1Zwl1
gNeh16f6rM7+TEQmfEZF
=p93z
-----END PGP SIGNATURE-----

--8P1HSweYDcXXzwPJ--


--===============3200963296514018416==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Cvs-ghc mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cvs-ghc

--===============3200963296514018416==--