Changes between Version 8 and Version 9 of Building/Windows


Ignore:
Timestamp:
Apr 15, 2007 1:04:43 AM (7 years ago)
Author:
igloo
Comment:

Add --with-ld=c:/mingw/bin/ld.exe to configure commandlines

Legend:

Unmodified
Added
Removed
Modified
  • Building/Windows

    v8 v9  
    267267   {{{$(GHC_TOP)/}}} thus: 
    268268   {{{ 
    269 $ ./configure --host=i386-unknown-mingw32 --with-gcc=c:/mingw/bin/gcc 
     269$ ./configure --host=i386-unknown-mingw32 --with-gcc=c:/mingw/bin/gcc --with-ld=c:/mingw/bin/ld.exe 
    270270}}} 
    271271   This is the point at which you specify that you are building GHC-mingw 
     
    303303   you'll have to do something more like: 
    304304   {{{ 
    305 $ ./configure --with-gcc=...the Cygwin gcc... 
     305$ ./configure --with-gcc=...the Cygwin gcc... --with-gcc=...the Cygwin ld.exe... 
    306306}}} 
    307307 * If you are paranoid, delete {{{config.cache}}} if it exists. 
     
    380380    ; (if you aren't there already) 
    381381  - sh boot 
    382   - ./configure --host=i386-unknown-mingw32 --with-gcc=C:/Mingw/bin/gcc.exe 
     382  - ./configure --host=i386-unknown-mingw32 -with-gcc=C:/Mingw/bin/gcc.exe --with-ld=C:/Mingw/bin/ld.exe 
    383383    ; we use cygwin, but build for windows 
    384384  - cp mk/build.mk.sample mk/build.mk 
     
    410410When you run your configure script, it falls over with  
    411411{{{ 
    412 sh-2.04$ ./configure --with-gcc=c:/mingw/bin/gcc --host=i386-unknown-mingw32 
     412sh-2.04$ ./configure --with-gcc=c:/mingw/bin/gcc --with-ld=c:/mingw/bin/ld.exe --host=i386-unknown-mingw32 
    413413configure: WARNING: If you wanted to set the --build type, don't use --host. 
    414414    If a cross compiler is detected then cross compile mode will be used.