Changes between Version 11 and Version 12 of Building/Preparation/FreeBSD


Ignore:
Timestamp:
Jan 18, 2014 2:58:48 AM (19 months ago)
Author:
pgj
Comment:

Add information on iconv(3) changes in FreeBSD base

Legend:

Unmodified
Added
Removed
Modified
  • Building/Preparation/FreeBSD

    v11 v12  
    1212In order to be able to build GHC from source, the following ports have to be installed.
    1313
    14  * [http://www.freshports.org/converters/libiconv/ converters/libiconv] (GNU libiconv)
     14 * [http://www.freshports.org/converters/libiconv/ converters/libiconv] (GNU libiconv, versions before 10.0 only)
    1515 * [http://www.freshports.org/devel/autoconf devel/autoconf] (GNU Autoconf)
    1616 * [http://www.freshports.org/devel/automake devel/automake] (GNU Automake)
     
    5050{{{
    5151$ ./configure \
     52  --with-gmp-includes=$LOCALBASE/include   --with-gmp-libraries=$LOCALBASE/lib
     53}}}
     54
     55On systems earlier than {{{10.0-RELEASE}}}, one has to configure {{{iconv(3)}}} as well.  For {{{10.0-RELEASE}}} and later, {{{iconv(3)}}} functions are part of the base system libraries, so these flags is not needed any more.
     56
     57{{{
    5258  --with-iconv-includes=$LOCALBASE/include --with-iconv-libraries=$LOCALBASE/lib \
    53   --with-gmp-includes=$LOCALBASE/include   --with-gmp-libraries=$LOCALBASE/lib
    5459}}}
    5560