From d3eecc3a590f4f0f55b68023799e067c16a2e279 Mon Sep 17 00:00:00 2001 From: Michael Huebler <mh@tosl.org> Date: Thu, 22 Aug 2019 08:33:45 +0000 Subject: [PATCH] maOS "strip" hint formatted as a note, as requested --- Documentation/how-to-build.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/how-to-build.rst b/Documentation/how-to-build.rst index 4db34ad8..e643dbc7 100644 --- a/Documentation/how-to-build.rst +++ b/Documentation/how-to-build.rst @@ -138,5 +138,5 @@ In order to do a rebuild you can issue a clean command to ninja via Otherwise, rerunning ``./bootstrap.sh`` will also clean the build-directory. -- macOS: If ``strip`` fails to work on the freshly compiled mpy-cross: "strip: object: (...)/lib/micropython/micropython/mpy-cross/mpy-cross malformed object (unknown load command 9)", you a likely not using the `strip` that matches to your ``clang``. Do ``which strip && which clang``, and if the paths don't match, clean up your PATHs, or as a quick hack, create a symlink for strip. +.. note:: macOS: If ``strip`` fails to work on the freshly compiled mpy-cross: "strip: object: (...)/lib/micropython/micropython/mpy-cross/mpy-cross malformed object (unknown load command 9)", you a likely not using the `strip` that matches to your ``clang``. Do ``which strip && which clang``, and if the paths don't match, clean up your PATHs, or as a quick hack, create a symlink for strip. -- GitLab