Re: Building Clearsilver under LTIB

Mario Gliewe <[email protected]> Tue, 05 May 2009 10:34:41 +0200
Newsgroups gmane.text.clearsilver.general
Message-ID <[email protected]>
Hello,

cross compiling clearsilver is working fine, one has to remove
the 'test' target in cs/makefile by hand though.

this is what i'm doing on my linux-host to cross-compile using mingw
(excerpt from my Makefile):

-snip-

MINGW=i586-mingw32msvc

windows/clearsilver/rules.mk:
     CC=${MINGW}-gcc \
     AR=${MINGW}ar \
     CXX=${MINGW}-g++ \
     RANLIB=${MINGW}-ranlib \
         cd windows/clearsilver; \
         ./configure --host=${MINGW} --target=${MINGW} \
                     --disable-perl --disable-python
build-win-clearsilver:
         make -C windows/clearsilver


-snap-

greets
mario

(brandon: sorry for double-post, wrong button /-)