Re: [Vala] How to compile Vala using MingW under Windows



Well... I've compiled and installed pkg-config-0.27.1 and it seems it's ok...

L:\>valac test.vala

L:\>test
hello world

Sorry to have disturbed you for not much.. ^__^

Regards

Raum

ps: I'll prepare some packages to download in next hours...
glib-2.34.0-mingw32-bin.tar.xz
libffi-3.0.11-mingw32-bin.tar.xz
libgee-0.6.5-mingw32.tar.xz
libxml2-2.6.30-mingw32-dll.tar.xz
pkg-config-0.27.1-mingw32-bin.tar.xz
vala-0.18.0-mingw32-bin.tar.xz

Do you think I (we) need other things ?

Hello

In fact, I've got a problem using Vala0.18 I compiled... I've created a
test file :
-----------------
void main() {
      stdout.printf ("hello world\r\n");
}
----------------

L:\>gcc --version
gcc (GCC) 4.6.2
Copyright (C) 2011 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE.


L:\>valac --version
Vala 0.18.0

L:\>set
(...)
CC=gcc
Path=C:\WINDOWS\system32;C:\WINDOWS;d:\cross-compile\vala-0.18.0\bin;d:\cross-compile\mingw\bin;d:\utils\;d:\utils\php\
PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.wlua;.lexe
PKG_CONFIG_PATH=D:\cross-compile\vala-0.18.0\lib\pkgconfig
(...)

L:\>valac test.vala
error: L'ex├®cution du processus fils a ├®chou├® (No
such file or directory)
error: L'ex├®cution du processus fils a ├®chou├® (No
such file or directory)
error: L'ex├®cution du processus fils a ├®chou├® (No
such file or directory)
Compilation failed: 3 error(s), 0 warning(s)

L:>

(==> error: Failed to execute child process (No such file or directory))

Ehm, do you have any clue to solve this problem ?! Did I break the
compilator when trying to compile with Mingw ?

Thanks

Raum

Hi,

Feel free to help me to improve (or correct ;-) ) this mini how-to and
report if something doesn't work.

Next step, I think I'll try to bundle clang... :-?

Thanks

Raum


(...)

I think I've successed to compile vala 0.18 under Windows. You could
have
a look to my page (tarball available for testing) :
http://linbox.free.fr/vala


Here it is :
----------------------------------
How to compile Vala under Windows
----------------------------------

# First step :
c:\> mkdir vala-build
c:\> cd vala-build
c:\vala-build> mkdir vala
c:\vala-build> mkdir vala-src
c:\vala-build> mkdir mingw
c:\vala-build> mkdir msys
c:\vala-build> mkdir build

(...)
_______________________________________________
vala-list mailing list
vala-list gnome org
https://mail.gnome.org/mailman/listinfo/vala-list

_______________________________________________
vala-list mailing list
vala-list gnome org
https://mail.gnome.org/mailman/listinfo/vala-list




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