[OTR-dev] Cross compile pidgin-otr for windows
Ian Goldberg
ian at cypherpunks.ca
Sat Jul 11 10:04:25 EDT 2009
On Sat, Jul 11, 2009 at 12:32:45AM -0000, Sec wrote:
> Ian,
>
> Thanks for the response.
>
> Yes I had pidgin-dev installed (on debian lenny) but I still get the
> errors below. I also had libpurple-dev installed.
What happens if you run "pkg-config --cflags gtk+-2.0"?
> My main goal is to cross compile for windows, but I tried this to
> check if it compiles on linux first.
>
> Can you please tell the instructions or point me to a page that might
> give how to cross-compile for windows, the way you guys might do it ?
We just cross-compile libotr as described in the INSTALL file:
./configure --with-pic --build=`./config.guess` --host=i586-mingw32msvc \
--prefix=/usr/i586-mingw32msvc
make
make install
Then cross-compile pidgin-otr with:
make -f Makefile.mingw
- Ian
More information about the OTR-dev
mailing list