C++ cross-compile Build only the runtime library

28 views
Skip to first unread message

Claude Robitaille

unread,
May 20, 2020, 4:56:15 PM5/20/20
to Protocol Buffers
Hello,

I am cross-compiling protobuf for C++ for various target but for one of them protoc fails to link.

Since I do NOT need protoc on the target I am trying to find a way to only compile the runtime library; that part successfully compiles so I would good and get a clean build result if it were possible to skip protoc.

Anyone know how to do this? I tried to use "-with-protoc" but this does not skip buidding it; it just instruct the build system to use an external protoc when compiling the test harness.


Reply all
Reply to author
Forward
0 new messages