armdevvel / mxe-SHARED

MXE (M cross environment) for ARM32 Windows development (shared libraries)
Other
6 stars 3 forks source link

hunspell, builtin extraction and selective use, polishing readline and pthreads #12

Closed treeswift closed 1 year ago

treeswift commented 1 year ago

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.

treeswift commented 1 year ago

Hunspell fixed now.

treeswift commented 1 year ago

Notes on libtool: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=27866