Tests are not run as part of the build. I think the actual problem is that the makefile is attempting to invoke protoc to generate some .pb.* files which are then compiled into the tests (though I think automake builds them even if you aren't compiling tests because it is too dumb to know). You should be able to prevent this by making sure those files are already there before you run make, e.g. by copying the .pb.* files over from a directory where you have run a normal build.
I suppose we should find some trick to make this easier... On Mon, Feb 2, 2009 at 12:37 PM, <reid.mad...@tektronix.com> wrote: > > The build procedures for GPB don't work when cross-compiling. The crux of > the matter is that the build attempts to run tests using cross-compiled > binaries. This of course fails because the cross-compiled binaries are > incompatible with the current host's architecture. > > To support cross-compilation, tests should never be run as a part of the > build, but should be deferred to a "make check", or "make tests" step. > _______________________________________________________________________ > Reid Madsen | Principal Engineer | Tektronix, Inc. | 469-330-4018 | > reid.mad...@tek.com<mailto:reid.mad...@tek.com> > > > > > > > > --~--~---------~--~----~------------~-------~--~----~ 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 protobuf+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/protobuf?hl=en -~----------~----~----~----~------~----~------~--~---