|
Projects /
HosttoolsPrefaceThe hosttools als intended to be easily built and run on Linux hosts. Other Unixes may work as well. MacOSX? 10.3 should work, MacOSX? 10.5 will not work - patches are welcome! And we finally ported our hosttools to Windows Cygwin and MingW? (with msys). The Windows port does not support unicode builds at the moment. Building on Windowswith MingW? msysDownload and install MingW? and msys. In MingWs? installer make sure to select
At first we have to install tcl and tk. Download them (I got versions 8.5.4) (to msys' home directory, which was c:\MinGW?\msys\1.0\home\larsi for me), and extract them: tar xvzf tcl8.5.4.tar.gz tar xvzf tk8.5.4.tar.gz Make a seperate build directory: make buildtcl Enter it: cd buildtcl The prefix for all MingW?/msys builds has to be /mingw ! It is only mentioned here, but you have to supply this configure option for building wxWidgets and hosttools also. Configure it: ../tcl8.5.4/win/configure --prefix=/mingw If all went fine, you can build it: make Again if all went fine, you can install it: make install In the buildtcl directory you can also configure build and install tk. Now wxWidgets has to be installed, follow the wxWidgets part of the cygwin section for that but for the configure process use this line: ../wxWidgets-2.8.9/configure --prefix=/mingw/ --with-msw --disable-precomp-headers --disable-unicode --disable-shared After that follow the Linux instructions for building and installing the hosttools and also honor the --prefix=/mingw option with CygwinDownload and run Cygwins installer. In the package selection make sure that the following packages are selected:
The gcc executables are named gcc-4.exe and g++-4.exe. For the configure process to find them enter at the cygwin shell: export CC=gcc-4 export CXX=g++4 wxWidgetsAs there is no cygwin package for wxWidgets available we have to build and install it ourselfes. Download the wxAll source archive (I got version 2.8.9) to your cygwin home directory (which was c:\cygwin\home\larsi for me). Extract the archive: tar xvzf wxWidgets-2.8.9.tar.gz Make a build directory for wxWidgets: mkdir buildwx Enter this directory: cd buildwx From there configure your wxWidgets. I've done it this way: ../wxWidgets-2.8.9/configure --with-msw --disable-shared If all was fine, you can build it with simply: make This should build an ANSI (non-unicode) wxWidgets library. You should be ready for installing it now. Just type: make install From now on follow the instructions for building hosttools on Linux. Building on LinuxRequirements to build:
Get the sources from svn repository: $ svn co http://www.ecosforge.net/ecosforge/trunk/host/host-tools/ Make a separate directory for building and enter it: $ mkdir build $ cd build Configure your build tree. You can add options depending on your needs, for example add $ ../host-tools/configure If no errors occured the tree is now ready to build: $ make Again, if there were no errors, you are ready to install: $ make install Command line If you notice bugs or have problems, please write to our ecosforge-discuss mailing list http://ecosforge.net/mailman/listinfo/ecosforge-discuss. Differences to configtool from eCos cvs at ecos.sourceware.org:
You can browse the repository online at http://www.ecosforge.net/viewvc/trunk/host/host-tools/ . |