Changeset 2642


Ignore:
Timestamp:
26/02/2010 06:50:55 (2 years ago)
Author:
chris
Message:

Add instructions and support for building with readline on Windows.

Location:
box/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • box/trunk/docs/api-notes/win32_build_on_cygwin_using_mingw.txt

    r2516 r2642  
    6969        cp pcreposix.h /usr/include/mingw 
    7070 
     71== Readline (Optional) == 
     72 
     73If you want Readline support, download Readline version 6.1, unpack 
     74and install thus: 
     75 
     76        tar xzvf readline-6.1.tar.gz 
     77        ./configure --prefix=/usr/i686-pc-mingw32 \ 
     78                CFLAGS="-mno-cygwin" \ 
     79                CPPFLAGS="-mno-cygwin" \ 
     80                LDFLAGS="-mno-cygwin" 
     81        make 
     82        make install 
     83 
    7184== Download Box Backup == 
    7285 
     
    8497 
    8598        cd trunk 
    86         ./infrastructure/mingw/configure.sh 
     99        ./infrastructure/mingw/configure.sh [--enable-gnu-readline] 
    87100        make 
    88101 
  • box/trunk/infrastructure/mingw/configure.sh

    r2626 r2642  
    3030fi 
    3131 
    32 if ! ./configure --target=i686-pc-mingw32; then 
     32if ! ./configure --target=i686-pc-mingw32 "$@"; then 
    3333        echo "Error: configure failed, aborting." >&2 
    3434        exit 1 
Note: See TracChangeset for help on using the changeset viewer.