That's a very generic build question, not just grpc-related. Generally speaking, on Intel, you want to use -m32 as compilation and linker flags, which you can override with environment variables.
https://cmake.org/cmake/help/latest/envvar/CFLAGS.html https://cmake.org/cmake/help/latest/envvar/CXXFLAGS.html https://cmake.org/cmake/help/latest/envvar/LDFLAGS.html On Thursday, October 21, 2021 at 1:47:14 PM UTC-7 Roman Andronov wrote: > > Does anyone know how to build the 32-bit GRPC binaries from sources with > CMAKE on Linux? Which specific flags must be set to what specific values > and passed to CMAKE? > > We know how to build the 64-bit GRPC binaries from sources with CMAKE on > Linux but we also need its 32-bit version. I would imagine that there has > to be a way to turn off the default 64-bit build and turn on the 32-bit > build instead. > > Thank you. > -- You received this message because you are subscribed to the Google Groups "grpc.io" group. To unsubscribe from this group and stop receiving emails from it, send an email to grpc-io+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/grpc-io/d43bb38b-9676-47bf-9b77-2b68a68a8c7an%40googlegroups.com.