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) yes
checking whether g++ accepts -g... yes
checking dependency style of g++... (cached) gcc3
checking how to run the C++ preprocessor... /lib/cpp
configure: error: in `protocol_buffer_3.3.0_arm_cross_compile/protobuf':
configure: error: C++ preprocessor "/lib/cpp" fails sanity check
See `config.log' for more details

Why 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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/protobuf/b8ba1df8-64d8-4dc8-9be3-b75872fc2538%40googlegroups.com.

Reply via email to