This pull request, most importantly, proposes a way to link selected routines from CLang compiler runtime into projects that use a different one (typically libgcc by default). MXE_COMPILER_RT points to the platform-specific CLang builtin library; mxe.intrinsic.sh extracts a member from the library and creates a libtool wrapper file to use in a libtoolized project.
In non-libtoolized components, where *.o/*.obj are acceptable in LDFLAGS, it is advised to skip the script and use $(TARGET)-ar directly from the recipe.
This pull request, most importantly, proposes a way to link selected routines from CLang compiler runtime into projects that use a different one (typically libgcc by default).
MXE_COMPILER_RT
points to the platform-specific CLang builtin library;mxe.intrinsic.sh
extracts a member from the library and creates a libtool wrapper file to use in a libtoolized project.In non-libtoolized components, where
*.o/*.obj
are acceptable in LDFLAGS, it is advised to skip the script and use$(TARGET)-ar
directly from the recipe.