← index #17399Issue #1295
Related · high · value 0.737
QUERY · ISSUE

docs: pots/unix (standalone) has no instructions to build static linked micropython instance

openby o-murphyopened 2025-05-30updated 2025-07-07
docsport-unix

Documentation URL

https://github.com/micropython/micropython/blob/master/ports/unix/README.md

Description

The ports/unix instructions not provide a way to build micropython with LDFLAGS -static to link ld statically. So even if you trying to build standalone binary it still build dynamic linked instance (e.g. ld.so.1). Dynamic linking to system ld.so.1 makes impossible to run binary on systems like Buildroot Linux

For make fully standalone static linked build you should directly modify Makefile cause make not handle LDFLAGS and docs not give instructions for this case.

Relative to issue: https://github.com/micropython/micropython/issues/17353

Code of Conduct

Yes, I agree

CANDIDATE · ISSUE

Generate standalone binaries of uPy?

closedby dpgeorgeopened 2015-05-29updated 2022-06-23
rfc

There has been some talk recently on python-dev about making standalone binaries of CPython, specifically to run on Windows. This is something that uPy can do very easily and it would be nice and compact.

We could generate (automatically and daily) standalone binaries for Windows, OSX and Linux which are a single executable file and "just run" without any installation or dependencies.

Is this interesting?

Keyboard

j / / n
next pair
k / / p
previous pair
1 / / h
show query pane
2 / / l
show candidate pane
c
copy suggested comment
r
toggle reasoning
g i
go to index
?
show this help
esc
close overlays

press ? or esc to close

copied