Chcę skompilować krzyżowo GCC. Używam MSYS2 jako powłoki, a mingw-w64 jako kompilatora.Kompilacja binutils nie powiodła się z powodu pliku pex-unix
Pobrałem binutils-2,25 i skonfigurować z:
../binutils/./configure --target=sh3eb-elf --prefix=C:/tempinstall/ --disable-nls
pojawia się błąd, gdy próbuję zbudować binutils
na libiberty/pex-unix
pliku:
In function 'pex_wait': error: 'F_GETFD' undeclared (first use in this function) error: 'FD_CLOEXEC' undeclared (first use in this function) error: 'F_SETFD' undeclared (first use in this function) error: 'F_DUPFD' undeclared (first use in this function)
In function 'restore_fd': error: 'FD_CLOEXEC' undeclared (first use in this function) error: 'F_SETFD' undeclared (first use in this function)
In function 'pex_unix_fdopenw': error: 'F_SETFD' undeclared (first use in this function) error: 'FD_CLOEXEC' undeclared (first use in this function)
zbudował ten sam kompilator mało miesiące temu bez problemów. Ale mam od zmienionego systemu operacyjnego (Windows 7 do W10) i kompilatora (MinGW GCC 4.8 do Mingw64-GCC 4.9)
Śledziłem this tutorial
Znajduję dziwną linię na libiberty/config.log 'pexecute =" pex-unix "'. Może konfiguracja nie wykrywa systemu Windows 10. Czy uważasz, że to możliwe? – Intelligide