Re: [Vala] Cross-compiling with MinGW
- From: Evan Nemerson <evan coeus-group com>
- To: Leszek Godlewski <lg inequation org>
- Cc: vala-list gnome org
- Subject: Re: [Vala] Cross-compiling with MinGW
- Date: Sat, 16 Jun 2012 15:45:15 -0700
On Sun, 2012-06-17 at 00:33 +0200, Leszek Godlewski wrote:
Hey all,
I'm on Debian, trying to cross-compile my Vala code using MinGW
(gcc-mingw-w64 package) like this:
CC=i686-w64-mingw32-gcc valac --pkg gtk+-3.0 --pkg cairo --pkg pango
--pkg gee-1.0 -g --save-temps -o foo bar.vala
However, the compiler complains about the unix-style pthread linking
directive, which is obviously invalid on Windows:
i686-w64-mingw32-gcc: error: unrecognized option '-pthread'
error: cc exited with status 256
I've grepped all the vapis on my system for "pthread", but haven't
found a single mention; same goes for the valac sources. Where does
this come from?
pkg-config
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]