hxcpp linux static or package ?

60 views
Skip to first unread message

theRemix

unread,
Jun 10, 2016, 6:17:23 PM6/10/16
to Haxe
i have an hxcpp cli project that i can build and distribute a static version for Mac64

i want to be able to bulid and distribute a Linux64 and Windows version if possible.

Can anyone point me in the right direction for being able to create a self contained static binary, or a package for deb/ubuntu ?

Hugh

unread,
Jun 13, 2016, 12:52:23 AM6/13/16
to Haxe
If you are not using any external libraries (eg, openfl) and only the internal std/regexp/zlib etc, if you use the haxe 3.3 rc from the haxe website, it will only build self-contained static exes.
Or are you asking about packaging?

Hugh

theRemix

unread,
Jun 13, 2016, 10:53:32 AM6/13/16
to Haxe
i'm using current stable 3.2.1, i wasn't aware of 3.3rc building static binaries. i'll take a look at that now, thanks!

Hugh

unread,
Jun 14, 2016, 2:09:54 AM6/14/16
to Haxe
For 3.2, you can also try to add lines like these to one of your files:


Hugh
Reply all
Reply to author
Forward
0 new messages