Основная проблема, с которой я столкнулся, заключается в том, что у меня установлены зависимости, такие как MPC, MPFR, GMP, использование homebrew. И затем я попытался установить i386-elf-gccНевозможно заварить gcc (i386-elf-gcc)
Сначала я постучал brew tap altkatz/homebrew-gcc_cross_compilers
, а затем brew install i386-elf-gcc
, наверняка произошли некоторые ошибки.
configure: error: Building GCC requires GMP 4.2+, MPFR 2.4.0+ and MPC 0.8.0+. Try the --with-gmp, --with-mpfr and/or --with-mpc options to specify their locations. Source code for these libraries can be found at their respective hosting sites as well as at ftp://gcc.gnu.org/pub/gcc/infrastructure/ . See also http://gcc.gnu.org/install/prerequisites.html for additional info. If you obtained GMP, MPFR and/or MPC from a vendor distribution package, make sure that you have installed both the libraries and the header files. They may be located in separate packages.
На самом деле я уже установлены ПДК и так далее с доморощенного, эти вещи находятся в /usr/local/Cellar
Тогда я brew install i386-elf-gcc --with-mpc=/usr/local/Cellar/mpc/0.27/bin --with-gmp=/usr/local/Cellar/gmp/6.0.0a/lib --with-mpfr=/usr/local/Cellar/mpfr/3.1.3/lib
Наконец я получил это
configure: error: Building GCC requires GMP 4.2+, MPFR 2.4.0+ and MPC 0.8.0+. Try the --with-gmp, --with-mpfr and/or --with-mpc options to specify their locations. If you obtained GMP, MPFR and/or MPC from a vendor distribution package, make sure that you have installed both the libraries and the header files. They may be located in separate packages.
Ничего не изменилось ...
Cou Кто-нибудь здесь поможет мне? пожалуйста .....
просто хочу заварить установить i386-эльф-GCC
Однако спасибо всем рассматривать этот вопрос, спасибо