Changes between Version 1 and Version 2 of DevWikiMingW64_Setup


Ignore:
Timestamp:
06/23/13 17:35:04 (11 years ago)
Author:
robe
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • DevWikiMingW64_Setup

    v1 v2  
    8484
    8585{{{
    86 #if you are building for 32-bit change ming64 to ming32
    87 export PROJECTS=/c/ming64/projects
    88 #for a 64-bit build
    89 export MINGHOST=x86_64-w64-mingw32
    90 #if you are building for 32-bit change to this
    91 #export MINGHOST=i686-w64-mingw32
    92 
    93 #this part is not necessary
    94 #but we like to prefix our binary folders with
    95 #version
    96 export OS_BUILD=64 #change to 32 if building for 32
     86export OS_BUILD=64
     87if [[ "${OS_BUILD}" == "64" ]] ; then
     88        export MINGHOST=x86_64-w64-mingw32
     89else
     90        export MINGHOST=i686-w64-mingw32
     91fi
    9792}}}
    9893
     
    144139}}}
    145140
     141For CUnit
     142
     143{{{
     144        cd ${PROJECTS}
     145        wget http://iweb.dl.sourceforge.net/project/cunit/CUnit/2.1-2/CUnit-2.1-2-src.tar.bz2
     146        tar -xvf CUnit-2.1-2-src.tar.bz2
     147        cd CUnit-2.1-2
     148        ./configure --build=${MINGHOST} --prefix=/mingw/${MINGHOST}
     149        make clean
     150        make && make install
     151        make check
     152        exit;
     153}}}
     154
     155