While working toward adding Linux support to the SocketIO UE4 plugin, I have been trying to compile the static libs on linux, adding them to the plugin and cross compiling a project for linux. Unfortunately linking is not going well, which might come from the different compilers used.
So to avoid this issue I tried to use the UE4 toolchain to cross compile the SocketIO client static lib, which should avoid any issues.
I have to admit that my knowledge of cross compilation is limited, and I could not find any information online.
Is there any information available on the topic?
Does someone have an example of either 3rd party static library compilation on Linux, or better, directly using the UE4 toolchain through a CMake toolchain?
May be you can set CC and CXX variables to point to Clang? Also see this file for example /UnrealEngine/Engine/Source/ThirdParty/PhysX/Externals/CMakeModules/Linux/LinuxCrossToolchain.multiarch.cmake