I want to build a 'static toolchain', with option --disable-shared, for no shared library include/depend in the toolchain-self
cause I don't want the target binary runs depend on the toolchain, such as libc.so, ld-xxx.so.
But when the target binary need the function dlopen, it give a build error that libc.a need to recompile with -fPIC
So, how to compile glibc with -fPIC? or maybe I should ask is it possible to gen a shared library with
static toolchain?