Ignore:
Timestamp:
12/10/2006 20:41:06 (6 years ago)
Author:
chris
Message:
  • Updated documentation for building Win32 native builds on Linux
File:
1 edited

Legend:

Unmodified
Added
Removed
  • box/trunk/docs/backup/win32_build_on_linux_using_mingw.txt

    r217 r976  
    77- Fedora and SuSE users can download RPM packages from  
    88  [http://mirzam.it.vu.nl/mingw/] 
     9 
     10You will need to know the prefix used by the cross-compiler executables. 
     11It will usually be something like "ix86-mingw32*-". All the binaries in the 
     12cross-compiler package will start with this prefix. The documentation below 
     13assumes that it is "i386-mingw32-". Adjust to taste. 
    914 
    1015Download Zlib from [http://www.zlib.net/], unpack and enter source directory: 
     
    1722        make install prefix=/usr/local/i386-mingw32 
    1823 
    19 Download OpenSSL 0.9.7 from  
     24Download OpenSSL 0.9.8b from  
     25[http://www.openssl.org/source/openssl-0.9.8b.tar.gz] 
     26 
     27Unpack and configure: 
     28 
     29        tar xzvf openssl-0.9.8b.tar.gz 
     30        cd openssl-0.9.8b 
     31        ./Configure mingw 
     32        make makefile.one 
     33        wget http://bbdev.fluffy.co.uk/svn/box/chris/win32/support/openssl-0.9.8b-mingw-cross.patch 
     34        patch -p1 < openssl-0.9.8b-mingw-cross.patch 
     35        make -f makefile.one 
    2036 
    2137Configure Box with: 
     
    2844        export LDFLAGS="-mthreads" 
    2945        export LIBS="-lcrypto -lws2_32 -lgdi32" 
     46        (if you don't have a "configure" file, run "./bootstrap") 
    3047        ./configure --target=i386-mingw32 
    31         make CXX="$CXX" AR="$AR" RANLIB="$RANLIB" 
     48        make CXX="$CXX" AR="$AR" RANLIB="$RANLIB" WINDRES="i386-mingw32-windres" 
Note: See TracChangeset for help on using the changeset viewer.