Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

static_binary_test

A minimal “hello world” smoke test that confirms the fully-static build (CONFIG_FULLY_STATIC) produces a self-contained ELF. (Source dir: utils/c/test-static, file hello.c; the built binary is static_binary_test.)

Usage

static_binary_test            # prints a greeting
file static_binary_test       # should report "statically linked"

No arguments. Use it to verify a static toolchain/link is healthy.

See also