You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you have a lot of output from the commands Make is executing in parallel, you
122
-
might see output interleaved on `stdout`. To handle this, Make has the option [`--ouput-sync`](https://www.gnu.org/software/make/manual/html_node/Parallel-Output.html).
122
+
might see output interleaved on `stdout`. To handle this, Make has the option [`--output-sync`](https://www.gnu.org/software/make/manual/html_node/Parallel-Output.html).
123
123
124
124
I recommend using **`--output-sync=recurse`**, which will print the entire
125
125
output of each target's recipe when it completes, without interspersing other
@@ -407,7 +407,7 @@ test: build
407
407
```
408
408
409
409
> **NOTE!!! `.PHONY` targets are ALWAYS considered out-of-date, so Make will
410
-
ALWAYS run the recipe for those targets (and therfore any target that has a
410
+
ALWAYS run the recipe for those targets (and therefore any target that has a
411
411
`.PHONY` prerequisite!). Use with caution!!**
412
412
413
413
#### Implicit Rules
@@ -963,7 +963,7 @@ $(BUILD_FOLDER)/%.o: %.c
963
963
964
964
# The rule for building the executable "example", using OBJ_FILES as
965
965
# prerequisites. Since we're not relying on an implicit rule, we need to
Copy file name to clipboardExpand all lines: _posts/2020-05-20-arm-cortexm-with-llvm-clang.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -519,7 +519,7 @@ before/after others. Take a look at the official documentation for more ideas![^
519
519
Once you can compile your project with Clang, there are other compiler warnings not
520
520
supported by other compilers that you can enable. These can be helpful for catching potential bugs or issues.
521
521
522
-
The exhaustive list of "Diagnostic Warnings" supported by Clang can be found in the official documentation online[^5]. However, I find it easiest to run a build with all the possible Clang warnings enabled by using `-Weverything`, disabling all errrors (`-Wno-error`) and piping the compilation output to a file I can grep after the fact. Let's try it out on the example project:
522
+
The exhaustive list of "Diagnostic Warnings" supported by Clang can be found in the official documentation online[^5]. However, I find it easiest to run a build with all the possible Clang warnings enabled by using `-Weverything`, disabling all errors (`-Wno-error`) and piping the compilation output to a file I can grep after the fact. Let's try it out on the example project:
523
523
524
524
```bash
525
525
$ make clean && CLI_CFLAG_OVERRIDES="-Weverything -Wno-error" \
@@ -822,7 +822,7 @@ Disclaimers: At the time of writing this article,
822
822
823
823
- Some of the official documentation, such as the instructions for "Alternative using a cmake cache" no
824
824
longer work.
825
-
- It does not appear possible to compile a builtin targetting the Cortex-M hard float ABI (i.e
825
+
- It does not appear possible to compile a builtin targeting the Cortex-M hard float ABI (i.e
826
826
`armv7em` target).
827
827
- It does not appear possible to compile `libclang_rt` for ARM Cortex-M on OSX. You need to use
0 commit comments