-
I would like to cross-compile for 32-bit Linux targets from a 64-bit machine. I can't figure out the right combination of cmake variables / environment variables to get this to work. Does anyone have an example of how to build for a 32bit target? This is what I have so far:
The result is that dependencies such as libcurl and libcrypto are being picked up from /usr/lib64 instead of /usr/lib, e.g.
and then later during I also tried using a toolchain file to set the C_FLAGS and CXX_FLAGS. I think #1087 may be related, but I couldn't tell if that fix was ever merged. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Have you taken a look at this example of how to cross compile with this sdk? The cmake argument they use looks like this:
|
Beta Was this translation helpful? Give feedback.
-
Hello! Reopening this discussion to make it searchable. |
Beta Was this translation helpful? Give feedback.
Have you taken a look at this example of how to cross compile with this sdk? The cmake argument they use looks like this: