gettext compile fails in crosstool-ng build on cygwin
问题 I am new to crosscompiling and I followed the steps from using-crosstool-ng-and-cygwin by MAKSYM SHYTE The crosstool fails to build gettext when generating crosscompiler for i686-nptl-linux-gnu target build = x86_64-unknown-cygwin host = x86_64-unknown-cygwin target = i686-nptl-linux-gnu or x86_64-unknown-linux-gnu NOTE: This gnulib patch from Ken Brown is needed to get gettext module compile. Alternatively, it also compiles if we just comment out #include in /usr/include/sys/types.h as per