Home Help Center

a minimal set of ICE binary for Linux

fengxbfengxb Member feng xuebinOrganization: jiexin techProject: scientific calculation
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

  • marcmarc FloridaAdministrators, ZeroC Staff Marc LaukienOrganization: ZeroC, Inc.Project: The Internet Communications Engine ZeroC Staff
    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*.
  • fengxbfengxb Member feng xuebinOrganization: jiexin techProject: scientific calculation
    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?
  • marcmarc FloridaAdministrators, ZeroC Staff Marc LaukienOrganization: ZeroC, Inc.Project: The Internet Communications Engine ZeroC Staff
    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.
  • fengxbfengxb Member feng xuebinOrganization: jiexin techProject: scientific calculation
    I am a jackroo on Linux. Please tell me command to compile it.

    Regards,
  • marcmarc FloridaAdministrators, ZeroC Staff Marc LaukienOrganization: ZeroC, Inc.Project: The Internet Communications Engine ZeroC Staff
    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".
  • fengxbfengxb Member feng xuebinOrganization: jiexin techProject: scientific calculation
    Thank you very much. You resolve my greate problem.
Sign In or Register to comment.