Archived

This forum has been archived. Please start a new discussion on GitHub.

a minimal set of ICE binary for Linux

Hi, staffs,

would you please provide a minimal set of ICE binary for Linux? We compiled and got a set more than 20M.

Thanks,

Comments

  • marc
    marc Florida
    This depends on what you consider as minimal. If you don't need any of the services, and also not the Slice tools or Ice header files, then all you need is lib/libIceUtil.so* and lib/libIce.so*.
  • Thanks for your reply.

    libIceUtil.so, LibIce.so, Freeze are needed. But my libice.so is more than 15M. Would you please provide a minimal set?
  • marc
    marc Florida
    The 15MB is mostly debug symbols. Strip the library, and it will be about 2MB. An optimized, unstripped version is about 1.8MB, and an optimized stripped version about 1.5MB.
  • I am a jackroo on Linux. Please tell me command to compile it.

    Regards,
  • marc
    marc Florida
    The command is "strip", for example "strip libFoo.so".

    Note that stripping really only reduces the size on disk. In memory, the symbol table isn't loaded anyway. To find out the real size of a binary (i.e., what is loaded into memory), don't just look at it's size on disk, but use "size libFoo.so".

    For more information, please see the manual pages for "size" and "strip".
  • Thank you very much. You resolve my greate problem.