Re: [protobuf] Re: Portable protobuf compiler

2014-06-25 Thread Chris Beams
On Jun 24, 2014, at 5:31 PM, John Calcote john.calc...@gmail.com wrote: I'm looking for a true native java port of the protoc compiler. It's a pretty trivial compiler and the C source code is available. I guess I'll have to do it myself. I'd like to see this as well, and would be happy to

Re: [protobuf] Re: Portable protobuf compiler

2014-06-24 Thread John Calcote
Thanks osuciu - I checked into protoc-jar. Unfortunately, it suffers from the same problem I'm currently having - it just wraps a call to the C version of protoc for windows, osx and linux and provides those binaries embedded in the jar. This would be fine except, as the OP pointed out,

Re: [protobuf] Re: Portable protobuf compiler

2014-06-24 Thread John Calcote
Thanks Feng Xiao- I checked into protoc-jar. Unfortunately, it suffers from the same problem I'm currently having - it just wraps a call to the C version of protoc for windows, osx and linux and provides those binaries embedded in the jar. This would be fine except, as the OP pointed out,

Re: [protobuf] Re: Portable protobuf compiler

2014-06-24 Thread osuciu
The Linux protoc in protoc-jar is a static 64bit build, I think on some RedHat flavor. But it still has some .so dependencies, libc.so, etc. I'm guessing that's the issue? If some Linux expert could provide a fully static build (no shared libs at all), I think that should work on most Linuxes.

[protobuf] Re: Portable protobuf compiler

2014-06-23 Thread John Calcote
I'm also interested in a portable protoc compiler - java would be nice, but python would work too. No one has a comment on this? On Friday, January 24, 2014 2:07:27 AM UTC-7, Matthias Hogerheijde wrote: Hi, I've successfully compiled protoc in order to generate Java sources from a .proto

Re: [protobuf] Re: Portable protobuf compiler

2014-06-23 Thread 'Feng Xiao' via Protocol Buffers
On Mon, Jun 23, 2014 at 6:29 PM, John Calcote john.calc...@gmail.com wrote: I'm also interested in a portable protoc compiler - java would be nice, but python would work too. No one has a comment on this? osuciu@'s protoc-jar might be of interest to you: https://github.com/os72/protoc-jar