如题。Linux下交叉编译ntp源码,最终编译出的ntpd为shared object,为嘛不应该是executable object文件。
ntpd: ELF 32-bit LSB shared object, ARM, EABI4 version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.14, not stripped
ntpd: ELF 32-bit LSB shared object, ARM, EABI4 version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.14, not stripped
configure: running /bin/bash ./configure --disable-option-checking '--prefix=/home/lhq/ntpcmd' 'LEP_LDFLAGS=-pie -Wl,-z,relro -Wl,-z,now' 'LEP_CPPFLAGS=-D_FORTIFY_SOURCE=2' 'LEP_CFLAGS=-fPIE -fPIC -fstack-protector-all -O1' '--enable-function-sections' '--enable-silent-rules' '--disable-libevent-install' '--disable-libevent-regress' '--disable-shared' '--disable-openssl' 'CC=/opt/arm-2007q1/bin/arm-none-linux-gnueabi-gcc' '--host=arm-none-linux-gnueabi' '--with-yielding-select=yes' 'host_alias=arm-none-linux-gnueabi' --cache-file=/dev/null --srcdir=.