Changes between Version 1 and Version 2 of Building/AIX


Ignore:
Timestamp:
Dec 5, 2015 9:32:23 PM (4 years ago)
Author:
hvr
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Building/AIX

    v1 v2  
    55This page documents which hoops to jump through to make this happen and what the current limitations are.
    66
    7 TODO: write me
     7== Prerequisites
     8
     9 - GNU Make
     10 - GCC (known to work: GCC 4.8.3, other versions may work as well though)
     11 - GMP (unless `integer-simple` is used)
     12 - libiconv-1.14 (compiled with `-D_THREAD_SAFE`)
     13 - binutils (for `objdump` and `gas`)
     14 - ...TODO...
     15
     16The [http://www.perzl.org/aix/ AIX Open Source Packages] repository is a convenient source to get the prerequisites.
     17
     18{{{#!rbox note
     19A consequence of this is that building a GHC crosscompiler targetting AIX is quite difficult.
     20}}}
     21Sadly (at the time of writing), `binutils`'s `ld` has only partial support for AIX. IBM's `ld` must be used. Also, IBM's `ar` is recommended over `binutils`'s.
     22
     23Having said that, IBM's `as` has deficiencies which cause problems when compiling GHC. So `gas` from `binutils` is recommended for building GHC.
     24
     25== Building
     26
     27
     28TODO: