Is is possible to build Avian native Windows executables within Linux environment?

68 views
Skip to first unread message

Nikolay Artamonov

unread,
Jun 8, 2016, 10:03:02 AM6/8/16
to Avian
Hi guys!

It seems that building Avian for Windows is hard job. Especially in the light of last events when MSYS support was declared as deprecated.

I look for simple way to build native Windows avian executables, can I do it within linux environment with help of some cross-compiling? Has anybody tried this way?

Thanks!

-- 
Nikolay Artamonov

Joel Dice

unread,
Jun 8, 2016, 10:48:28 AM6/8/16
to Avian
Hi Nikolay,

Yes, you can do it with Linux using Mingw-w64. On Debian or Ubuntu,
you should install the following packages (assuming you already have
the JDK, make, etc. installed):

sudo apt-get install mingw-w64 gcc-mingw-w64-x86-64
g++-mingw-w64-i686 binutils-mingw-w64-x86-64 zlib1g-dev
g++-mingw-w64-x86-64

Then run e.g. "make platform=windows arch=x86_64". Let us know if you
have any problems

By the way, is there a specific reason Cygwin won't work for you?
> --
> You received this message because you are subscribed to the Google Groups
> "Avian" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to avian+un...@googlegroups.com.
> To post to this group, send email to av...@googlegroups.com.
> Visit this group at https://groups.google.com/group/avian.
> For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages