Tôi đang cố gắng cài đặt GCC 4.9.0, tôi đã nhận các lỗi sau cho './configure' và 'make'.Cài đặt GCC Lỗi
tôi đã nhận lỗi sau đây cho ./configure
checking for default BUILD_CONFIG... bootstrap-debug
checking for --enable-vtable-verify... no
/usr/bin/ld: crt1.o: No such file: No such file or directory
collect2: ld returned 1 exit status
configure: error: I suspect your system does not have 32-bit developement libraries (libc and headers). If you have them, rerun configure with --enable-multilib. If you do not have them, and want to build a 64-bit-only compiler, rerun configure with --disable-multilib.
Sau đó, tôi sử dụng ./configure --disable-multilib
sau đó cấu hình hoàn thành với bất cứ lỗi.
Sau khi 'thực hiện'; tôi kết thúc với lỗi sau và tôi không thể xác định được lỗi này là gì
checking for suffix of object files... configure: error: in `/root/dsk/gcc-4.9.0/x86_64-unknown-linux-gnu/libgcc':
configure: error: cannot compute suffix of object files: cannot compile
See `config.log' for more details.
make[2]: *** [configure-stage1-target-libgcc] Error 1
make[2]: Leaving directory `/root/dsk/gcc-4.9.0'
make[1]: *** [stage1-bubble] Error 2
make[1]: Leaving directory `/root/dsk/gcc-4.9.0'
make: *** [all] Error 2
xin vui lòng giúp
Bạn đã thử làm theo các lời khuyên vào liên kết này: https://gcc.gnu.org/wiki/FAQ#configure_suffix? Có gì trong config.log? –
Tránh xây dựng GCC trong cây nguồn của nó. –
lỗi tương tự được lặp lại ngay cả sau khi xây dựng từ đường dẫn tương đối ../configure – user3690763