U
U
Urukhayy2018-08-04 15:30:24
linux
Urukhayy, 2018-08-04 15:30:24

Is it possible to make libraries in 32bit?

There is a library: https://github.com/grpc/grpc
Make builds in 64bit by default. How can this library be used in a 32bit application?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
al_sh, 2018-08-15
@Urukhayy

if the compiler is GCC, then CXXFLAGS="-m32" LDFLAGS="-m32 , after installing gcc-multilib

X
Xitsa, 2018-08-09
@Xitsa

I understand that this is a 64-bit host machine?
Then it's just cross-compilation.
I looked in the Makefile, there is such advice:
where under cross-gcc you need to specify the compiler launch line with a target platform of 32 bits.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question