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 constantWhich 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 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 even tries for stage2 IIRC, but I think that has to do with your GHC build 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 I :)
-- Stephen Paul Weber, @singpolyma See <http://singpolyma.net> for how I prefer to be contacted edition right joseph
signature.asc
Description: Digital signature
_______________________________________________ Cvs-ghc mailing list Cvs-ghc@haskell.org http://www.haskell.org/mailman/listinfo/cvs-ghc