WinCE

From Navit's Wiki
Revision as of 16:07, 28 March 2009 by Rikky (talk | contribs) (New page: ''This Page is not comlete, yet. Please be patient.'' This page explains how to build Navit for WinCE with cegcc. ==Building cegcc== Set the install path to where you want to install ce...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

This Page is not comlete, yet. Please be patient.

This page explains how to build Navit for WinCE with cegcc.

Building cegcc

Set the install path to where you want to install cegcc:

export INSTALL_PATH=/usr/local/cegcc
svn co -r 1214 https://cegcc.svn.sourceforge.net/svnroot/cegcc/trunk/cegcc
mkdir -p cegcc-builds
cd cegcc-builds
../cegcc/src/build-cegcc.sh --prefix=$INSTALL_PATH --components="binutils bootstrap_gcc w32api newlib dummy_cegccdll gcc cegccdll cegccthrddll libstdcppdll profile"


Building glib

These are the libraries needed and versions which should work:

  • zlib-1.2.3
  • libiconv-1.9.1
  • gettext-0.17
  • libpng-1.2.34
  • tiff-3.8.2
  • glib-2.18.4

zlib

wget http://www.zlib.net/zlib-1.2.3.tar.gz
tar xzf zlib-1.2.3.tar.gz
cd zlib-1.2.3
CC=arm-cegcc-gcc AR="arm-cegcc-ar r" RANLIB=arm--cegcc-ranlib ./configure --prefix=$INSTALL_PATH
make
make install

libiconv

wget http://www.gimp.org/~tml/gimp/win32/libiconv-1.9.1.tar.gz
tar xzf libiconv-1.9.1.tar.gz
patch -d $BUILD_PATH/libiconv-1.9.1 -p1 < libiconv-1.9.1_cegcc.patch
cd libiconv-1.9.1
./configure --host=arm-cegcc --prefix=$INSTALL_PATH
make
make install

gettext

wget http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/gettext-0.17.tar.gz
tar xzf gettext-0.17.tar.gz
cd gettext-0.17
patch -p1 < ../gettext-0.17_cegcc.patch
./configure --host=arm-cegcc --prefix=$LIB_INSTALL_PATH
make
make install

libpng

wget http://prdownloads.sourceforge.net/libpng/libpng-1.2.34.tar.gz?download
tar xzf libpng-1.2.34.tar.gz
cd libpng-1.2.34
patch -p1 < ../libpng-1.2.34_cegcc.patch
./configure --host=arm-cegcc --prefix=$LIB_INSTALL_PATH
CFLAG="-I $C_INCLUDE_PATH" make
make install

libtiff

wget http://libtiff.maptools.org/dl/tiff-3.8.2.tar.gz
tar xzf tiff-3.8.2.tar.gz
cd tiff-3.8.2
patch -p1 < ../tiff-3.8.2_cegcc.patch
./configure --host=arm-cegcc --prefix=$LIB_INSTALL_PATH
make
make install

glib

wget http://ftp.gnome.org/pub/gnome/sources/glib/2.18/glib-2.18.4.tar.bz2
tar xjf glib-2.18.4.tar.bz2
cd glib-2.18.4
patch -p1 < ../glib-2.18.4_cegcc.patch
./configure --host=arm-cegcc --prefix=$LIB_INSTALL_PATH
make
make install


Building Navit

ToDo