い自分の環境はUbuntuで、H8用のクロスコンパイラの環境を設定したいです。
参考サイト
上のサイトの通りに行っていたのですが、gccのmakeの部分ができません。どうすればいいでしょうか?
エラーの内容を載せておきます。
Terminal
1../configure --target=h8300-elf --disable-nls --disable-threads --disable-shared --enable-languages=c --disable-werror 2loading cache ./config.cache 3checking host system type... x86_64-unknown-linux-gnu 4checking target system type... h8300-unknown-elf 5checking build system type... x86_64-unknown-linux-gnu 6checking for a BSD compatible install... (cached) /usr/bin/install -c 7*** This configuration is not supported in the following subdirectories: 8 target-libffi target-boehm-gc target-zlib target-libjava target-libf2c target-libstdc++-v3 zlib fastjar target-libobjc 9 (Any other directories should still work fine.) 10*** removing intl/Makefile to force reconfigure 11*** removing libiberty/Makefile to force reconfigure 12*** removing gcc/Makefile to force reconfigure 13checking for x86_64-unknown-linux-gnu-ar... no 14checking for ar... (cached) ar 15checking for x86_64-unknown-linux-gnu-as... no 16checking for as... (cached) as 17checking for x86_64-unknown-linux-gnu-dlltool... no 18checking for dlltool... (cached) dlltool 19checking for x86_64-unknown-linux-gnu-ld... no 20checking for ld... (cached) ld 21checking for x86_64-unknown-linux-gnu-nm... no 22checking for nm... (cached) nm 23checking for x86_64-unknown-linux-gnu-ranlib... no 24checking for ranlib... (cached) ranlib 25checking for x86_64-unknown-linux-gnu-windres... no 26checking for windres... (cached) windres 27checking for x86_64-unknown-linux-gnu-objcopy... no 28checking for objcopy... (cached) objcopy 29checking for x86_64-unknown-linux-gnu-objdump... no 30checking for objdump... (cached) objdump 31checking for h8300-elf-ar... (cached) h8300-elf-ar 32checking for h8300-elf-as... (cached) h8300-elf-as 33checking for h8300-elf-dlltool... no 34checking for h8300-elf-ld... (cached) h8300-elf-ld 35checking for h8300-elf-nm... (cached) h8300-elf-nm 36checking for h8300-elf-ranlib... (cached) h8300-elf-ranlib 37checking for h8300-elf-windres... no 38checking whether to enable maintainer-specific portions of Makefiles... no 39creating ./config.status 40creating Makefile 41
$ make -j 5 h8300-elf-ranlib h8300s/normal/libgcc.a h8300-elf-ranlib h8300s/normal/libgcov.a rm -rf h8300s/normal/int32/libgcov.a h8300-elf-ranlib h8300s/int32/libgcc.a h8300-elf-ar rc h8300s/normal/int32/libgcov.a libgcc/h8300s/normal/int32/_gcov.o libgcc/h8300s/normal/int32/_gcov_merge_add.o libgcc/h8300s/normal/int32/_gcov_merge_single.o libgcc/h8300s/normal/int32/_gcov_merge_delta.o h8300-elf-ranlib h8300s/normal/int32/libgcc.a h8300-elf-ranlib h8300s/normal/int32/libgcov.a make[2]: Leaving directory '/home/ubuntu/12step/src/gcc-3.4.6/build/gcc' echo timestamp > stmp-multilib make[1]: Leaving directory '/home/ubuntu/12step/src/gcc-3.4.6/build/gcc'
sudo make install make[1]: Leaving directory '/home/ubuntu/12step/src/gcc-3.4.6/build/gcc' make[1]: Entering directory '/home/ubuntu/12step/src/gcc-3.4.6/build/intl' make[1]: Nothing to be done for 'install'. make[1]: Leaving directory '/home/ubuntu/12step/src/gcc-3.4.6/build/intl' make[1]: Entering directory '/home/ubuntu/12step/src/gcc-3.4.6/build/libiberty' make[2]: Entering directory '/home/ubuntu/12step/src/gcc-3.4.6/build/libiberty/testsuite' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/home/ubuntu/12step/src/gcc-3.4.6/build/libiberty/testsuite' /bin/sh ../../libiberty/../mkinstalldirs /usr/local/lib /usr/bin/install -c -m 644 libiberty.a /usr/local/lib/libiberty.an ( cd /usr/local/lib ; ranlib libiberty.an ) mv -f /usr/local/lib/libiberty.an /usr/local/lib/libiberty.a if test -n ""; then \ case "" in \ /*) thd=;; \ *) thd=/usr/local/include/;; \ esac; \ /bin/sh ../../libiberty/../mkinstalldirs ${thd}; \ for h in ../../libiberty/../include/ansidecl.h ../../libiberty/../include/demangle.h ../../libiberty/../include/dyn-string.h ../../libiberty/../include/fibheap.h ../../libiberty/../include/floatformat.h ../../libiberty/../include/hashtab.h ../../libiberty/../include/libiberty.h ../../libiberty/../include/objalloc.h ../../libiberty/../include/partition.h ../../libiberty/../include/safe-ctype.h ../../libiberty/../include/sort.h ../../libiberty/../include/splay-tree.h ../../libiberty/../include/ternary.h; do \ /usr/bin/install -c -m 644 $h ${thd}; \ done; \ fi make[2]: Entering directory '/home/ubuntu/12step/src/gcc-3.4.6/build/libiberty/testsuite' make[2]: Nothing to be done for 'install'. make[2]: Leaving directory '/home/ubuntu/12step/src/gcc-3.4.6/build/libiberty/testsuite' make[1]: Leaving directory '/home/ubuntu/12step/src/gcc-3.4.6/build/libiberty'
あなたの回答
tips
プレビュー