diff options
| author | skullY <skullydazed@gmail.com> | 2020-04-20 17:35:40 -0700 |
|---|---|---|
| committer | Zach White <skullydazed@users.noreply.github.com> | 2020-05-18 22:46:33 -0700 |
| commit | fcf150bd820195a169a5de2699cfa1f2d4d3d5a3 (patch) | |
| tree | 10cc66f53d37fdd939a4e2e01cba76eeb2a68c0a /docs/faq_build.md | |
| parent | ee2eb01653a8ba886e75971e710dcc52199935a3 (diff) | |
| download | qmk_firmware-fcf150bd820195a169a5de2699cfa1f2d4d3d5a3.tar.gz qmk_firmware-fcf150bd820195a169a5de2699cfa1f2d4d3d5a3.zip | |
Streamline the macos install process
Diffstat (limited to 'docs/faq_build.md')
| -rw-r--r-- | docs/faq_build.md | 16 |
1 files changed, 3 insertions, 13 deletions
diff --git a/docs/faq_build.md b/docs/faq_build.md index 70a16afea..2f1a4dd7f 100644 --- a/docs/faq_build.md +++ b/docs/faq_build.md | |||
| @@ -113,26 +113,16 @@ OPT_DEFS += -DBOOTLOADER_SIZE=2048 | |||
| 113 | ``` | 113 | ``` |
| 114 | 114 | ||
| 115 | ## `avr-gcc: internal compiler error: Abort trap: 6 (program cc1)` on MacOS | 115 | ## `avr-gcc: internal compiler error: Abort trap: 6 (program cc1)` on MacOS |
| 116 | |||
| 116 | This is an issue with updating on brew, causing symlinks that avr-gcc depend on getting mangled. | 117 | This is an issue with updating on brew, causing symlinks that avr-gcc depend on getting mangled. |
| 117 | 118 | ||
| 118 | The solution is to remove and reinstall all affected modules. | 119 | The solution is to remove and reinstall all affected modules. |
| 119 | 120 | ||
| 120 | ``` | 121 | ``` |
| 121 | brew rm avr-gcc | 122 | brew rm avr-gcc avr-gcc@8 dfu-programmer dfu-util gcc-arm-none-eabi arm-gcc-bin@8 avrdude qmk |
| 122 | brew rm avr-gcc@8 | 123 | brew install qmk/qmk/qmk |
| 123 | brew rm dfu-programmer | ||
| 124 | brew rm dfu-util | ||
| 125 | brew rm gcc-arm-none-eabi | ||
| 126 | brew rm arm-gcc-bin@8 | ||
| 127 | brew rm avrdude | ||
| 128 | brew install avr-gcc@8 | ||
| 129 | brew install dfu-programmer | ||
| 130 | brew install dfu-util | ||
| 131 | brew install arm-gcc-bin@8 | ||
| 132 | brew install avrdude | ||
| 133 | brew link --force avr-gcc@8 | 124 | brew link --force avr-gcc@8 |
| 134 | brew link --force arm-gcc-bin@8 | 125 | brew link --force arm-gcc-bin@8 |
| 135 | |||
| 136 | ``` | 126 | ``` |
| 137 | 127 | ||
| 138 | ### `avr-gcc` and LUFA | 128 | ### `avr-gcc` and LUFA |
