본문 바로가기

Embedded SW/Cortex-A

qemu, cross compiler 환경 셋업하기

반응형

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에 포함이 되어 있지 않아 따로 설치를 해주어야 한다

반응형

'Embedded SW > Cortex-A' 카테고리의 다른 글

qemu code 받아 설치  (0) 2025.06.04