[Xorp-users] Cross Compilation of xorp code with static flag enabled.
amarnath at copperheadsystems.com
amarnath at copperheadsystems.com
Thu Jun 24 04:17:03 PDT 2010
Hi All,
This is Amarnath.V from CopperHeadSystems India.
I am doing the cross compilation of the xorp code, enabling the static
flag as i want to compile it for the target environment.But i am facing
the below mentioned problem while doing the compilation.
./configure --host=x86 --target=ppc CC=ppc_82xx-gcc CXX=ppc_82xx-g++
CXXFLAGS=--static LDFLAGS="-L /opt/cross_compiler/ppc_82xx/lib/libstdc++.a
" --disable-shared.
Error:
=====
attempted static link of dynamic object
`/opt/cross_compiler/ppc_82xx/lib/libstdc++.so'
Can any one please suggest the solution for this.
Thanks in Advance.
Regards,
Amarnath.
More information about the Xorp-users
mailing list