![gcc 크로스 컴파일러 툴체인을 빌드하는 중 오류가 발생했습니다.](https://linux55.com/image/184028/gcc%20%ED%81%AC%EB%A1%9C%EC%8A%A4%20%EC%BB%B4%ED%8C%8C%EC%9D%BC%EB%9F%AC%20%ED%88%B4%EC%B2%B4%EC%9D%B8%EC%9D%84%20%EB%B9%8C%EB%93%9C%ED%95%98%EB%8A%94%20%EC%A4%91%20%EC%98%A4%EB%A5%98%EA%B0%80%20%EB%B0%9C%EC%83%9D%ED%96%88%EC%8A%B5%EB%8B%88%EB%8B%A4..png)
나는 후속 조치를 취하고 있다이것학습 경험을 위한 Linux 시스템 구축에 대한 가이드는 이 가이드의 섹션에 있습니다.GCC(정적), ` 명령을 실행할 때 오류가 발생합니다.
$ ln -vs libgcc.a `${LJOS_TARGET}-gcc -print-libgcc-file-name |
↪sed 's/libgcc/&_eh/'`
No command '-gcc' found, did you mean:
Command 'gcc' from package 'gcc' (main)
Command 'cgcc' from package 'sparse' (universe)
-gcc: command not found
'./libgcc.a' -> 'libgcc.a'
무시하고 제목 그대로 이어갔습니다glibc, 하지만 이 명령을 실행한 후 또 다른 오류가 발생합니다.
BUILD_CC="gcc" CC="${LJOS_TARGET}-gcc" \
AR="${LJOS_TARGET}-ar" \
RANLIB="${LJOS_TARGET}-ranlib" CFLAGS="-O2" \
../glibc-2.27/configure --prefix=/usr \
--host=${LJOS_TARGET} --build=${LJOS_HOST} \
--disable-profile --enable-add-ons --with-tls \
--enable-kernel=2.6.32 --with-__thread \
--with-binutils=${LJOS}/cross-tools/bin \
--with-headers=${LJOS}/usr/include \
--cache-file=config.cache
오류는 이렇습니다
configure: loading cache config.cache
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking for gcc... -gcc
checking for suffix of object files... configure: error: in `/home/noob/Desktop/glibc- build':
configure: error: cannot compute suffix of object files: cannot compile
See `config.log' for more details
이것들내 config.log의 내용입니다
이 문제를 어떻게 해결할 수 있나요?