[Bcusdk-list] eibd static build
Brought to you by:
e9925248
From: Sylvain LG <fo...@sy...> - 2015-02-12 17:46:21
|
Hello, here comes the configure options I use to compile eibd statically. I previously built pthsem lib statically too. export BUILD_PATH=~/eibdbuild export BUILD_ROOT=$BUILD_PATH/build export TARGET_ARCH=arm-cortexa9_neon-linux-gnueabihf ./configure --enable-static=yes --build=i386-linux-gnu --target=$TARGET_ARCH --host=$TARGET_ARCH --prefix=$BUILD_ROOT CC="$TARGET_ARCH-gcc" CFLAGS="-static -static-libgcc -static-libstdc++ -marm -mfpu=neon-fp16 -mfloat-abi=hard -march=armv7-a -mtune=cortex-a9" --with-mctx-mth=sjlj --with-mctx-dsp=ssjlj --with-mctx-stk=sas LDFLAGS="-static -static-libgcc -static-libstdc++" export LD_LIBRARY_PATH=$BUILD_ROOT/lib:$LD_LIBRARY_PATH ./configure --enable-onlyeibd --enable-eibnetiptunnel --enable-static=yes --build=i386-linux-gnu --target=$TARGET_ARCH --host=$TARGET_ARCH --prefix=$BUILD_ROOT --with-pth=$BUILD_ROOT --without-pth-test CC="$TARGET_ARCH-gcc" CFLAGS="-static -static-libgcc -static-libstdc++ -marm -mfpu=neon-fp16 -mfloat-abi=hard -march=armv7-a -mtune=cortex-a9" LDFLAGS="-static -static-libgcc -static-libstdc++ -s" CPPFLAGS="-static -static-libgcc -static-libstdc++ -Os -fmerge-constants" The compilation runs but this command shows a problem: $ file eibd eibd: ELF 32-bit LSB executable, ARM, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.16, stripped How can I success in statically building eibd? Thank you, Sylvain |