Changeset 36640

Show
Ignore:
Timestamp:
02/06/10 23:31:09 (5 years ago)
Author:
saturday06
Message:

ponyo

Location:
lang/objective-cplusplus/i3/trunk/scripts
Files:
1 removed
1 modified

Legend:

Unmodified
Added
Removed
  • lang/objective-cplusplus/i3/trunk/scripts/configure_mingw_cross.sh

    r36025 r36640  
    11# -*- coding: utf-8-unix -*- 
     2 
     3 
     4MYHOST=i686-w64-mingw32 
     5MYPREFIX=/usr/local/${MYHOST} 
     6 
     7export PATH="${MYPREFIX}/bin:${PATH}" 
     8export CFLAGS="-O3 -DNDEBUG -U_DEBUG -march=i486 -Wno-missing-field-initializers -Wno-unused-value -Wno-unused-parameter" 
     9export CXXFLAGS="${CFLAGS}" 
     10export LDFLAGS="-s" 
     11 
     12# iconv 
     13# ./configure --host=${MYHOST} --prefix=${MYPREFIX} --disable-shared && make && make install 
     14./configure \ 
     15    --host=${MYHOST} \ 
     16    --disable-debug \ 
     17    --with-gui=windows \ 
     18    --enable-threads=win32 \ 
     19    --with-included-gettext \ 
     20&& make clean all check windows-dist \ 
     21&& echo OK 
     22 
     23 
     24 
     25# -*- coding: utf-8-unix -*- 
     26 
     27#if [ `/bin/uname -o` != "Cygwin" ]; then 
     28#    echo "not cygwin" 
     29#    exit 
     30#fi 
     31 
     32svn diff 
     33 
     34#MYHOST=i686-w64-mingw32 
     35MYHOST=i486-pc-mingw32 
     36MYPREFIX=/usr/local/${MYHOST} 
     37 
     38export PATH="${MYPREFIX}/bin:${PATH}" 
     39export CFLAGS="-O3 -DNDEBUG -U_DEBUG -march=i486 -Wno-missing-field-initializers -Wno-unused-value -Wno-unused-parameter" 
     40export CXXFLAGS="${CFLAGS}" 
     41export LDFLAGS="-s" 
     42 
     43# iconv 
     44# ./configure --host=${MYHOST} --prefix=${MYPREFIX} --disable-shared && make && make install 
     45./configure \ 
     46    --host=${MYHOST} \ 
     47    --disable-debug \ 
     48    --with-gui=windows \ 
     49    --enable-threads=win32 \ 
     50    --with-included-gettext \ 
     51    --with-libiconv-prefix=${MYPREFIX} \ 
     52    --with-boost=${MYPREFIX} \ 
     53&& make clean all check windows-dist \ 
     54&& echo OK 
     55 
     56 
     57 
    258 
    359MYHOST=i686-w64-mingw32