요거 해보고 되면 올리자
핵심은 문의한 분이 올린 맨 마지막 줄...
Thank you to the above poster ecatmur -- it does indeed work to reconfigure/rebuild glibc with the configure option --enable-kernel=version
I would add the following -- you can use gcc -static -L/path/to/local/lib (big L option to the directory) and it seems to work just as well as linking to the library file itself. When I linked in the latter fashion (to /path/to/local/lib/libc.a), it created an unecessarily large executable.
[참조]
http://stackoverflow.com/questions/11206243/how-to-build-a-static-binary-for-gnu-linux-installations-with-old-kernel
'MEMO' 카테고리의 다른 글
arm, mips 2.6에 gcc 설치하기 (0) | 2016.07.24 |
---|---|
strace 4.12 arm cross compile min version 2.6.32 (0) | 2016.07.19 |
arm gdb cross-comile (0) | 2016.06.27 |
strace 바이너리 모음 (0) | 2016.06.25 |
ARM gdb-peda 설치 (0) | 2016.04.01 |