close Warning: Can't synchronize with repository "(default)" (/var/svn/tolp does not appear to be a Subversion repository.). Look in the Trac log for more information.

Changes between Version 14 and Version 15 of CompileMINGW32


Ignore:
Timestamp:
Feb 19, 2015, 10:16:14 AM (10 years ago)
Author:
Jorge
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • CompileMINGW32

    v14 v15  
    6565
    6666{{{
    67 mkdir c:\users\toldevel\trunk\Build\CodeLite\Debug
    68 mkdir c:\users\toldevel\trunk\Build\CodeLite\Release
     67mkdir c:\users\toldevel\trunk\tol\CodeLite\Debug
     68mkdir c:\users\toldevel\trunk\tol\CodeLite\Release
    6969}}}
    7070
     
    7272
    7373{{{
    74 cd c:\users\toldevel\trunk\Build\CodeLite\Debug
     74cd c:\users\toldevel\trunk\tol\CodeLite\Debug
    7575cmake -DTOL_EXTERNAL_DEVEL_DIR=C:/users/toldevel/TOL_DEVEL_MINGW32 -DCMAKE_BUILD_TYPE=Debug -G"CodeLite - MinGW Makefiles" c:/users/toldevel/trunk/tol
    7676}}}
     
    7979
    8080{{{
    81 cd c:\users\toldevel\trunk\Build\CodeLite\Debug
     81cd c:\users\toldevel\trunk\tol\CodeLite\Release
    8282cmake -DTOL_EXTERNAL_DEVEL_DIR=C:/users/toldevel/TOL_DEVEL_MINGW32 -DCMAKE_BUILD_TYPE=Release -G"CodeLite - MinGW Makefiles" c:/users/toldevel/trunk/tol
    8383}}}
    8484
    85 From this point we can run CodeLite IDE and open the workspaces generated at {{{Build\CodeLite\Debug}}} or {{{Build\CodeLite\Release}}}
     85From this point we can run CodeLite IDE and open the workspaces generated at {{{CodeLite\Debug}}} or {{{CodeLite\Release}}}
    8686
    8787=== Build from command line ===
     
    9090
    9191{{{
    92 cd c:\users\toldevel\trunk\Build\CodeLite\Debug
     92cd c:\users\toldevel\trunk\tol\CodeLite\Debug
    9393mingw32-make
    9494}}}
    9595
    9696{{{
    97 cd c:\users\toldevel\trunk\Build\CodeLite\Release
     97cd c:\users\toldevel\trunk\tol\CodeLite\Release
    9898mingw32-make
    9999}}}
     
    104104
    105105{{{
    106 cd c:\users\toldevel\trunk\Build\CodeLite\Debug
     106cd c:\users\toldevel\trunk\tol\CodeLite\Debug
    107107mingw32-make install
    108108}}}
    109109
    110110{{{
    111 cd c:\users\toldevel\trunk\Build\CodeLite\Release
     111cd c:\users\toldevel\trunk\tol\CodeLite\Release
    112112mingw32-make install
    113113}}}
    114114
    115115This will create a directory Runtime_Base within the corresponding configuration either Debug or Release.
     116
     117== TOLTCL ==
     118
     119toltcl is a TOL executable which include a Tcl interpreter. In order to build toltcl first prepare the directory to build the software:
     120
     121{{{
     122cd c:\users\toldevel\trunk\toltcl
     123mkdir CodeLite\Debug
     124mkdir CodeLite\Release
     125}}}
     126
     127The configure the makefiles for the specific configuration either Debug or Release:
     128
     129{{{
     130cd c:\users\toldevel\trunk\toltcl\CodeLite\Debug
     131cmake -DTOL_PREFIX_PATH=C:\users\toldevel\trunk\tol\CodeLite\Debug\Runtime_Base -DCMAKE_BUILD_TYPE=Debug -G"CodeLite - MinGW Makefiles" c:\users\toldevel\trunk\toltcl
     132}}}
     133
     134{{{
     135cd c:\users\toldevel\trunk\toltcl\CodeLite\Release
     136cmake -DTOL_PREFIX_PATH=C:\users\toldevel\trunk\tol\CodeLite\Release\Runtime_Base -DCMAKE_BUILD_TYPE=Release -G"CodeLite - MinGW Makefiles" c:\users\toldevel\trunk\toltcl
     137}}}
     138
     139To build from command line just issue the command mingw32-make from any of the directories Debug or Release:
     140
     141{{{
     142cd c:\users\toldevel\trunk\toltcl\CodeLite\Debug
     143mingw32-make
     144}}}
     145
     146{{{
     147cd c:\users\toldevel\trunk\toltcl\CodeLite\Release
     148mingw32-make
     149}}}
     150
     151Finally if everything was ok we must install the binaries generated to the corresponding runtime directory:
     152
     153{{{
     154cd c:\users\toldevel\trunk\toltcl\CodeLite\Debug
     155mingw32-make install
     156}}}
     157
     158{{{
     159cd c:\users\toldevel\trunk\toltcl\CodeLite\Release
     160mingw32-make install
     161}}}
     162
     163This will install the toltcl package and the executable tolsh.exe