Antwort: Re: Compiling protobuf for cross-compiling environment

2009-09-03 Thread Guenther Makulik
Hi, Kenton Varda schrieb am 02.09.2009 19:07:38: > Sorry, automake does not make it easy to install only part of the package, > and I think it is non-trivial to get working libraries without running the > "install" step. Is there any harm in building protoc? No, not really except build per

Re: Compiling protobuf for cross-compiling environment

2009-09-02 Thread Kenton Varda
Sorry, automake does not make it easy to install only part of the package, and I think it is non-trivial to get working libraries without running the "install" step. Is there any harm in building protoc? On Wed, Sep 2, 2009 at 12:53 AM, Makulik wrote: > > Hi Kenton, > > Thanks for your hints. Bu

Re: Compiling protobuf for cross-compiling environment

2009-09-02 Thread Makulik
Hi Kenton, Thanks for your hints. But there's still one thing not clear for me: I don't need the protoc compiler as powerpc executable, just the runtime libs. Is there a way to give an option (build-target) to configure or make, to build just theese? I didn't see one after having a quick look on

Re: Compiling protobuf for cross-compiling environment

2009-09-01 Thread Kenton Varda
Use the --with-protoc option to configure to tell it to use a particular protoc binary when building (rather than attempt to execute the one it just built). Other than that, cross-compiling works the same as with any automake/autoconf package. E.g. I have cross-compiled Windows binaries on a Mac m