Yeah, protocol buffers were designed for servers where we often have absurd binary sizes already and don't mind that much. I'm certainly open to the idea of creating a stripped-down implementation -- though this isn't something I'd have time to work on myself. It might also help to look for uses of templates in the current library and see if binary size can be reduced by avoiding them. Also, if you statically link your binaries you may find that the linker is able to drop a lot of stuff from the library, making for a smaller binary in the end, so long as you weren't hoping to share the library between multiple binaries on the device.
On Tue, Oct 21, 2008 at 8:54 AM, <[EMAIL PROTECTED]> wrote: > > Are there configuration options to reduce the size of libprotobuf? > I'm getting a 1,023,544 byte library stripped for ppc. This is for > an embedded system with limited memory. I think we're > only using a fraction of the functionality of protocol buffers. > (parseFromArray is the only explicit call plus any implicit > calls such as message construction/descruction and things > in the .pb.cc file). > > Thanks, > > David > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Protocol Buffers" group. To post to this group, send email to protobuf@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/protobuf?hl=en -~----------~----~----~----~------~----~------~--~---