guider icon indicating copy to clipboard operation
guider copied to clipboard

compile guider for binary execution

Open iipeace opened this issue 8 years ago • 0 comments

  1. 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

  2. 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
  1. http://nuitka.net/pages/overview.html
  • cross compile is not supported
  • use qemu environment to build

./nuitka test/guider.py --portable --show-progress --show-modules --recurse-not-to=pylab,matplotlib,PIL

iipeace avatar Dec 27 '17 00:12 iipeace