본문 바로가기
Xilinx SoC

Mac M1에서 crosstool-ng 빌드

by 코딩스미스 2022. 1. 31.

gobjcopy, objcopy 없어서 에러 발생. brew install binutils 설치 후, /opt/homebrew/opt/binutils/bin를 path에 추가한다.

 

menu library가 없단다. 빌드 실패 !! 

brew에서 직접  crosstool-ng를 설치한다.

crosstool-ng 설정파일은 .config이다. vim의 coc모듈이 .config 디렉토리와 이름이 같다. 따라서 홈 디렉터리에서 빌드하면 안된다.

디렉터리를 만들어 그 안에서 실행한다.

 

https://docs.espressif.com/projects/esp-idf/en/latest/esp32/get-started/macos-setup-scratch.html

 

Setup Toolchain for Mac OS from Scratch - ESP32 - — ESP-IDF Programming Guide latest documentation

© Copyright 2016 - 2022, Espressif Systems (Shanghai) Co., Ltd

docs.espressif.com

https://github.com/SeanMollet/esp-idf/tree/esp-2020r3-aarch64