Changes between Version 27 and Version 28 of Building/CrossCompiling


Ignore:
Timestamp:
Jan 7, 2018 7:25:11 PM (22 months ago)
Author:
bgamari
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Building/CrossCompiling

    v27 v28  
    169169}}}
    170170you are likely trying to compile GHC against a `libgmp` compiled for the wrong platform. This may be caused by a number of things, but the following may be helpful in tracking down the issue:
    171 * `WORD_SIZE_IN_BITS` is defined as `SIZEOF_HSWORD` in `includes/ghcautoconf.h` (which is produced by `./configure`)
     171* `WORD_SIZE_IN_BITS` is defined as `SIZEOF_VOID_P` in `includes/ghcautoconf.h` (which is produced by `./configure`)
    172172* `GMP_LIMB_BITS` is defined by `libraries/integer-gmp/gmp/include/gmp/gmp-impl.h` (if you are compiling with an in-tree GMP).