Re: GPB on non-Linux, non-Windows OS?

2009-02-27 Thread Tim
That's precisely the case I've been hoping to make in my current work. Since it's a static library to us, the point of stripping down isn't so much for reduced footprint (our linker should eliminate the unused modules anyway), but instead to simplify the porting effort. One of the first things I

Re: GPB on non-Linux, non-Windows OS?

2009-02-27 Thread Kenton Varda
Stripping out the use of file descriptors and iostreams should be easy. All you have to do is remove the relevant classes from zero_copy_stream_impl.{h,cc} and the corresponding methods from message.{h,cc}. The rest of the library doesn't depend on these. Note that protoc needs them, but presuma

Re: GPB on non-Linux, non-Windows OS?

2009-02-27 Thread Tim
That sounds like an excellent idea! On Feb 27, 11:51 am, Kenton Varda wrote: > Stripping out the use of file descriptors and iostreams should be easy.  All > you have to do is remove the relevant classes from > zero_copy_stream_impl.{h,cc} and the corresponding methods from > message.{h,cc}.  Th