gdb 컴파일
글쓴이: kithana / 작성시간: 토, 2013/02/23 - 6:11오후
gdb와 gdbserver를 컴파일 하여 file 정보를 보면 아래와 같이 나오고 있습니다.
./configure --build=i686-linux --host=arm-none-linux-gnueabi --target=arm-linux 이렇게 지정했는데 왜 Intel 80386 으로 나오는지 모르겠습니다.
gdbserver: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.24, BuildID[sha1]=0xa00f134063e96fc93dae95719849a5014acd8b75, not stripped
아래는 친구가 컴파일한 결과로 ARM 으로 잘 나옵니다.
gdbserver: ELF 32-bit LSB executable, ARM, version 1 (SYSV), statically linked, for GNU/Linux 2.6.14, not stripped
차이가 왜 발생하는지 답변 부탁드립니다.
Forums:
댓글 달기