Re: [Vala] [windows] valac fails to call gcc?
- From: Mihail Naydenov <mlists ymail com>
- To: Vlad Grecescu <b100dian gmail com>
- Cc: vala <vala-list gnome org>
- Subject: Re: [Vala] [windows] valac fails to call gcc?
- Date: Fri, 1 Aug 2008 10:28:52 -0700 (PDT)
Thanks for the suggestion, and looks like you were right - valac does try to call cc instead of gcc, but --cc=gcc did not do the trick of chaging the compiler:
$ valac --cc=gcc -o hello hello.vala
: Invalid argument
Compilation failed: 1 error(s), 0 warning(s)
error: cc exited with status 1
Is there another way to change it even if I have to recompile valac?
10x!
MihailNajdenov
----- Original Message ----
From: Vlad Grecescu <b100dian gmail com>
To:
Mihail Naydenov <mlists ymail com>
Cc: vala-list gnome org
Sent: Friday, August 1, 2008 10:17:32 AM
Subject: Re: [Vala] [windows] valac fails to call gcc?
Mihail Naydenov wrote:
I have successfully compiled VALA 0.3.4 under vista,
but cannot compile the tests:
$ valac -o hello hello.vala
Compilation failed: 1 error(s), 0 warning(s)
error: Неуспех при изпълнение на дъщерен
процес (No such file or directory)
Maybe you should try with --cc=gcc too, since I doubt the default
executed command (cc) exists in your Windows installation.
However there is no problem doing :
$ valac -C hello.vala
$ gcc -o hello hello.c `pkg-config --libs --cflags glib-2.0`
`pkg-config --libs --cflags gobject-2.0`
Any suggestions?
10x!
MihailNajdenov
PS The unreadable error message is probably because valac tries
to write in cyrillic?!? (My computer`s localization is Bulgarian)
_______________________________________________
Vala-list mailing list
Vala-list gnome org http://mail.gnome.org/mailman/listinfo/vala-list
--
Vlad http://blad.wordpress.com
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]