../../gcc/d/dmd/total.h:21:19: wchar.h: No such file or directory ../../gcc/d/gdc_alloca.h:11:22: alloca.h: No such file or directory ../../gcc/d/dmd/html.c:25:19: wchar.h: No such file or directory ../../gcc/d/dmd/lexer.c:23:19: wchar.h: No such file or directory => commented the unnecessary #includes out ../../gcc/d/dmd/root.c: In function `char* wchar2ascii(wchar_t*)': ../../gcc/d/dmd/root.c:57: error: `wcslen' undeclared (first use this function) ../../gcc/d/dmd/root.c:57: error: (Each undeclared identifier is reported only once for each function it appears in.) => #ifdef __APPLE__ static size_t wcslen(const wchar_t *str) { size_t len = 0; while (*str++) len++; return len; } #endif ../../../libphobos/config/gen_unix.c: In function `c_socket': ../../../libphobos/config/gen_unix.c:364: error: `socklen_t' undeclared (first use in this function) ../../../libphobos/config/gen_unix.c:364: error: (Each undeclared identifier is reported only once ../../../libphobos/config/gen_unix.c:364: error: for each function it appears in.) => #ifndef socklen_t typedef int socklen_t; #endif ld: Undefined symbols: _strtold _acosl _asinl _atan2l _atanl _cbrtl _ceill _coshl _erfcl _erfl _exp2l _expl _expm1l _fabsl _floorl _frexpl _ilogbl _ldexpl _lgammal _log10l _log1pl _log2l _logbl _logl _modfl _nanl _nearbyintl _powl _remainderl _roundl _sinhl _sqrtl _tanhl _tgammal _truncl => ???