Embedded SW/Cortex-A

qemu, cross compiler 환경 셋업하기

J_____ 2025. 5. 31. 14:47
반응형

qemu 설치

 

$ brew install qemu

 

 

설치확인

$ qemu-system-aarch64 --version

 

 

cross compiler

 

brew tap ArmMbed/homebrew-formulae

brew install arm-none-eabi-gcc
   --> target 32bit
 
brew install aarch64-elf-gcc
   --> target 64bit


brew install aarch64-elf-gdb  

 

참고로 gdb의 경우에는 gcc에 포함이 되어 있지 않아 따로 설치를 해주어야 한다

반응형