guider
guider copied to clipboard
compile guider for binary execution
-
static build $ ./configure LDFLAGS="-static -static-libgcc" --disable-shared CPPFLAGS="-static" --enable-optimizations $ make -j LDFLAGS="-static" LINKFORSHARED=" " $ cp build/lib.linux-x86_64-2.7/* Lib/ $ tar cvfz python.tgz python Lib
-
https://github.com/pyinstaller/pyinstaller $ ./pyinstaller.py --onefile guider.py --exclude=matplotlib --exclude=PIL --exclude=pylab
- x64 supported
- arm/aarch64 is being checked
- https://hub.docker.com/r/hypriot/arm-pyinstaller
- https://pypy.org/download.html
- http://nuitka.net/pages/overview.html
- cross compile is not supported
- use qemu environment to build