Re: [Vala] Can i use vala for cross compiling?



We're also cross-compiling Vala for Ubicom IP7K processor without any problem.

Regards,
Cem

On 01/08/2010 11:40 PM, Frederik Sdun wrote:
* Joshua Lee<muzili gmail com>  [28.12.2009 10:41]:
Hi Jan,
That works, thanks.

Best regards,
Joshua

On Mon, 28 Dec 2009, Jan Niklas Hasse wrote:

On Mon, Dec 28, 2009 at 4:37 AM, Joshua Lee<muzili gmail com>  wrote:
Hi All,
I would like to use vala in embedded device, so can vala generate the
target binary directly? For example,
'mipsel-linux-gnu-valac hello.vala -o hello' for the mips platform.

BTW, is there any plan to add vala to GCC compiler collections?

Thanks a lot.

BR/JL
You can use the -cc option. E.g.:

valac -cc=mipsel-linux-gnu-gcc hello.vala -o hello

_______________________________________________
Vala-list mailing list
Vala-list gnome org
http://mail.gnome.org/mailman/listinfo/vala-list
We're using vala for fsod which targets smartphones with arm processors.
And we're using cross compilation for this. You might take a look at one
of our makefiles [1] to see how easy it is to crosscompile vala code.

Regards, Frederik
[1]
http://git.freesmartphone.org/?p=cornucopia.git;a=blob;f=fsodeviced/src/lib/Makefile.am;h=57c9d60dc1cdb6e15a6c2b2a4dac8ec597d74cd2;hb=HEAD

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


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