Re: [Vala] [windows] valac fails to call gcc?



build 0.3.5 (Have not tested 0.3.4)
plus
adding "cmdline += " " + pkgflags.strip ();" @ line 96 in gobject/valaccodecompiler.vala
and 
using --cc=gcc to set gcc as the c compiler
WORKS fine with MSys! 
 
10x!
MihailNaydenov
PS Have not ran all test because tests/testrunner.sh reports a problem about missing command (pipefail) from the default bash in msys.
After installing bash 3.1 (faild to compile 3.2 + pathes), tests/testrunner.sh reports nothing, but also does nothing!

----- Original Message ----
From: Vlad Grecescu <b100dian gmail com>
To: Matt Emson <memsom interalpha co uk>
Cc: Mihail Naydenov <mlists ymail com>; vala <vala-list gnome org>
Sent: Monday, August 4, 2008 12:20:01 PM
Subject: Re: [Vala] [windows] valac fails to call gcc?

Matt Emson wrote:
Mihail Naydenov wrote:
Having compiled the lates build (0.3.5) I must report that the problem still exists in the same form.
MihailNaydenov.
Yes. AFAICT it is the captured output from pkg-config that contains a newline which must be stripped.
I made the following change in gobject/valaccodecompiler.vala at line 96:
cmdline += " " + pkgflags.strip ();

Is there a Vala package for Windows that is downloadable? (Even non-fully working?) Last time I looked, there was not a working one, and compilation was hard due to the versions of various libs in Cygwin.

I built one 0.3.4 available at http://code.google.com/p/gtkaml/downloads/list (mingw).
Contains the above change
TIA,

M


-- 
Vlad 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]