--
You received this message because you are subscribed to the Google Groups "Protocol Buffers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to protobuf+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/protobuf/b8ba1df8-64d8-4dc8-9be3-b75872fc2538%40googlegroups.com.
The build ordinarily relies on the host g++ to build protoc. I believe you can work around this problem by running "./configure --with-protoc=<path to your prebuilt protoc>" and then the build will use the provided protoc and not attempt to build a new one.
On Fri, Jul 19, 2019 at 1:41 AM sachin chadha <sachin...@gmail.com> wrote:
Hi,--I am trying to cross compile protocol buffers for ARM on a docker container (x86 Linux). I have a pre-compiled version of protoc and the container has only cross build tools installed with no host g++ / gcc available. During ./configure i see the following error:checking whether we are using the GNU C++ compiler... (cached) yeschecking whether g++ accepts -g... yeschecking dependency style of g++... (cached) gcc3checking how to run the C++ preprocessor... /lib/cppconfigure: error: in `protocol_buffer_3.3.0_arm_cross_compile/protobuf':configure: error: C++ preprocessor "/lib/cpp" fails sanity checkSee `config.log' for more detailsWhy do protocol buffer needs Host g++ ? Is it for gmock ? And can this be disabled somehow ?Sachin
You received this message because you are subscribed to the Google Groups "Protocol Buffers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to prot...@googlegroups.com.