On Thu, May 14, 2009 at 4:08 PM, <reid.mad...@tektronix.com> wrote:

>  There's only one problem with this.  It assumes that you have a locally
> compiled and installed the protoc compiler.  Thus, before building a
> cross-compiled version, one must also build a native version.  This is an
> unnecessary dependency that should be avoided.
You have to install the compiler locally anyway in order to compile any code
that uses protocol buffers, right?  So why is this a problem?

>  Instead, you should provide a mechanism to disable the generation of all
> tests files.
Unfortunately autotool makes this hard.  It's mechanism for
dynamically-generated sources is very weak and you cannot tell it "only
generate these if building tests".

But also, you really should build the tests and run them on your target
platform, to make sure there are no subtle problems with protocol buffers on
that platform.

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 
For more options, visit this group at 

Reply via email to