diff --git a/BUILDING.md b/BUILDING.md index 6f90d9bad..2ab115e8c 100644 --- a/BUILDING.md +++ b/BUILDING.md @@ -85,11 +85,17 @@ Try running TinyGo: ./build/tinygo help -Also, make sure the `tinygo` binary really is statically linked. Check this -using `ldd` (not to be confused with `lld`): +Also, make sure the `tinygo` binary really is statically linked. The command to check for +dynamic dependencies differs depending on your operating system. + +On Linux, use `ldd` (not to be confused with `lld`): ldd ./build/tinygo +On macOS, use otool -L: + + otool -L ./build/tinygo + The result should not contain libclang or libLLVM. ## Make a release tarball