Changes between Version 29 and Version 30 of Building/Porting


Ignore:
Timestamp:
May 20, 2009 12:41:11 PM (6 years ago)
Author:
igloo
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Building/Porting

    v29 v30  
    126126In the instructions that follow, "`<T>$ cmd`" means that the current directory should be `<T>` when executing the command "`cmd`".
    127127
     128If your target platform requires it, then you may need to set CFLAGS appropriately here, e.g.
     129
     130{{{
     131$ export CFLAGS=-m64
     132}}}
     133
     134Now begin with:
     135
    128136{{{
    129137<T>$ cp /bin/pwd utils/ghc-pwd/ghc-pwd
     
    134142You might need to update {{{configure.ac}}} to recognise the new
    135143platform, and re-generate {{{configure}}} with {{{autoreconf}}}.
     144
     145If necessary on your platform, you may again need to create a mk/build.mk
     146to pass any necessary flags to gcc, e.g.:
     147
     148{{{
     149SRC_CC_OPTS += -m64
     150}}}
     151
     152Then:
    136153
    137154{{{