On 10/21/2012 04:18 PM, Thomas Jollans wrote:
> On 10/20/2012 09:33 PM, bsquared wrote:
>> Hello,
>>
>> It's been a while since I have looked at Vala.  I am preparing to write
>> a simple app that I would like to make available for Linux and Windows.
>>
>> I am having trouble finding documentation to cross-compile an app
>> written in Vala to Windows binary.  I want to code the project in Anjuta
>> and compile both Linux and Windows versions from this code base using
>> Linux mingw tools.
> 
> The fact that you're using Vala shouldn't make much of a difference. If
> you're using a build system that is capable of cross-compiling C code
> with GCC and compiles Vala to C instead of using a short-cut, then you
> should be able to follow the documentation for cross-compiling with your
> chosen build system.
> 
> If you're using Anjuta, you should have some IDE support for
> autoconf/automake, and these build tools, while notoriously unintuitive,
> are extremely powerful, quite well documented, and have as good support
> for cross compiling as you're likely to get. I expect that any
> documentation of cross-compiling to windows using automake will apply to
> a Vala project that uses automake's built in Vala support.
> 
> 
> Cross compiling will still be a pain in the ass, of course. Also, if you
> ask me, you shouldn't rely on wine for testing, but rather get a copy of
> Windows to run in a VM (or, ideally, on actual hardware), or just don't
> release Windows binaries in the first place.
> 
> Thomas Jollans
> 

Thanks for your response.  I don't plan to reply solely on wine for
testing -- just for preliminaries.


-- 
Regards,
Brian

_______________________________________________
vala-list mailing list
[email protected]
https://mail.gnome.org/mailman/listinfo/vala-list

Reply via email to