standalone

Pixilang programming language
Post Reply
kmatze
Posts: 47
Joined: Wed Jun 22, 2011 12:36 am

standalone

Post by kmatze »

hi,
if it possible to make a standalone program under in windows and android?
greetings - kmatze
User avatar
NightRadio
Site Admin
Posts: 3941
Joined: Fri Jan 23, 2004 12:28 am
Location: Ekaterinburg. Russia
Contact:

Re: standalone

Post by NightRadio »

Under the Windows: just put the compiled boot.pixicode (http://code.google.com/p/pixilang/wiki/ ... ne_options) file and pixilang.exe to one directory.
But for Android there is no simple way right now. You should use the sources of Pixilang + Android SDK + Android NDK
kmatze
Posts: 47
Joined: Wed Jun 22, 2011 12:36 am

Re: standalone

Post by kmatze »

hi nightradio,
kmatze wrote:hi,
if it possible to make a standalone program under in windows and android?
greetings - kmatze
i have found a solution for windows with the help of "enigma virtual box", Version 7.20 FREEWARE, Size 4.7 Mb and I played a little with them.

It is possible to make one exe-file inclusive a virtual filesystem for the coding files and libs
1) use upx to pack the pixilang.exe from 1 MByte to 361 KByte
2) name the main file to boot.pixi
3) use "enigma virtual box" to bundle the pixilang.exe with the boot.pixi and add the other coding files and libs
4) bundle all

the result ist one exe file!

The example with the AVI export "save_avi_mjpeg.pixi" (it must named in boot.pixi) with the lib-files (mjpeg.pixi, riff.pixi) and the pixilang.exe will be an exe file with the size of 718 KBytes and it works! without temp files!

greeting - kmatze -
Post Reply