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



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




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