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

* Joshua Lee <muzili gmail com> [28.12.2009 10:41]:
Hi Jan,
That works, thanks.

Best regards,

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.


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
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
IRC: playya @ Freenode, Gimpnet
xmpp: playya draugr de

Attachment: signature.asc
Description: Digital signature

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