Wed, 08/28/2019 - 08:38
Forums:
I compiled x64 OpenCascade by using Cmake in Ubuntu, but i actually need to use x86 version. I couldn't find how to do.
İf you have another possible way to compile without using cmake, i would like to hear your way.
If you explain me i would be very grateful.
Thanks in advance.
Wed, 08/28/2019 - 09:57
On Linux, standard building toolchains are targeting to the same CPU architecture as system.
Building for another CPU architecture (or/and another system) is called cross-compilng and requires additional knowledge of building process and extra efforts.
In fact, you will need installing not only additional building toolchain and compiler OCCT using it, but also prepare all dependencies necessary for building OCCT.
This topic is not specific to OCCT, so that most likely you will find more information on Ubuntu and/or CMake forums.
Note also that Ubuntu already dropped creation of official 32-bit releases, and plans to drop maintaining a repository with 32-bit packages in next release:
https://ubuntu.com/blog/statement-on-32-bit-i386-packages-for-ubuntu-19-...
So that it is highly recommended migrating to 64-bit packages