크로스 컴파일 환경을 구축한다 (인터넷 참조)


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




'MEMO' 카테고리의 다른 글

linux version information  (0) 2016.07.24
arm, mips 2.6에 gcc 설치하기  (0) 2016.07.24
FATAL: kernel too old 문제  (0) 2016.07.19
arm gdb cross-comile  (0) 2016.06.27
strace 바이너리 모음  (0) 2016.06.25
Posted by goldpapa
,