mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-19 12:04:03 +00:00
Docs: Clarify build verification step for macOS users
This commit is contained in:
+8
-2
@@ -85,11 +85,17 @@ Try running TinyGo:
|
|||||||
|
|
||||||
./build/tinygo help
|
./build/tinygo help
|
||||||
|
|
||||||
Also, make sure the `tinygo` binary really is statically linked. Check this
|
Also, make sure the `tinygo` binary really is statically linked. The command to check for
|
||||||
using `ldd` (not to be confused with `lld`):
|
dynamic dependencies differs depending on your operating system.
|
||||||
|
|
||||||
|
On Linux, use `ldd` (not to be confused with `lld`):
|
||||||
|
|
||||||
ldd ./build/tinygo
|
ldd ./build/tinygo
|
||||||
|
|
||||||
|
On macOS, use otool -L:
|
||||||
|
|
||||||
|
otool -L ./build/tinygo
|
||||||
|
|
||||||
The result should not contain libclang or libLLVM.
|
The result should not contain libclang or libLLVM.
|
||||||
|
|
||||||
## Make a release tarball
|
## Make a release tarball
|
||||||
|
|||||||
Reference in New Issue
Block a user