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

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.


You can use the -cc option. E.g.:

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

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