MEMO
strace 4.12 arm cross compile min version 2.6.32
goldpapa
2016. 7. 19. 23:08
크로스 컴파일 환경을 구축한다 (인터넷 참조)
Next we'll build the strace itself:
1. 최신 소스 다운로드 https://sourceforge.net/projects/strace/
2. 적당히 압축을 푼다
3. cd ./strace-4.12
4. Set the necessary global variables
export export CC=arm-linux-gnueabi-gcc
(Replace with path to your cross compiler)
5. ./configure --host=arm-linux-gnueabi --prefix='/home/w00t/strace'
6. make
w00t@ubuntu64svr14:~/strace-4.12$ ls strace
strace
w00t@ubuntu64svr14:~/strace-4.12$ file strace
strace: ELF 32-bit LSB executable, ARM, EABI5 version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.32, BuildID[sha1]=91104ca9b9d0ba127993601d3a9cea104b72269d, not stripped