use shared lib of libbackend.so

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux