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



Hello.

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.

Vala compiler only translates .vala files into .c file, compilation to
machine code is done by gcc usually. So you should be able to
cross-compile your aplication by instructing valac to create C files
only and then manually compile them using gcc.

Tadej

-- 
Tadej Borovšak
tadeboro.blogspot.com
tadeboro gmail com
tadej borovsak gmail com



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