Hi As cc1plus cc1 lto1 using the same big static lib libbackend.a, so I patched it to use a shared lib in order to save space. I pached by the attachment and set CFLAGS="${CFLAGS} -fPIC" CXXFLAGS="${CXXFLAGS} -fPIC" before configure. It works well after patched and size reduced. But it works much slower than using libbackend.a , spend two times time. Can I keep speed while using shared lib?
Attachment:
gcc-4.6.0-use-shared-lib.patch
Description: Binary data