x86 Linux システムでのクロスコンパイル ツールの構築 (2)

前回記事:x86 Linux環境でクロスコンパイルツールを構築する(1)からの続きです。

この記事は次の記事を参照しています。

arm 用のクロスコンパイラを構築する (binutils-2.17 gcc-3.4.6 glibc-2.3.6)

どうもありがとうございます!

前回コンパイルと構築のための環境を準備しましたが、今回は各コンポーネントのコンパイルと構築を行っていきます。

2. コンパイルとビルド

1.binutilsのビルド

(1) build-toolsディレクトリにbuild-binutilsフォルダを作成します。

Cross-compiler/build-tools ディレクトリに移動し、build-binutils フォルダーを作成します。次のように:

~/cross-compiler$ cd build-tools/
~/cross-compiler/build-tools$ 
~/cross-compiler/build-tools$ mkdir build-binuitls
~/cross-compiler/build-tools$ ls
binutils-2.41.tar.xz  build-binuitls  gcc-13.2.0.tar.xz  glibc-2.38.tar.xz

(2) binutils ソースコードアーカイブを解凍します。

tar コマンドを使用して、binutils ソース コード アーカイブを解凍します。実際のコマンドと結果は次のとおりです(インターセプト部分)。

$ tar xvf binutils-2.41.tar.xz 
……
binutils-2.41/zlib/trees.c
binutils-2.41/zlib/trees.h
binutils-2.41/zlib/uncompr.c
binutils-2.41/zlib/watcom/watcom_f.mak
binutils-2.41/zlib/watcom/watcom_l.mak
binutils-2.41/zlib/win32/DLL_FAQ.txt
binutils-2.41/zlib/win32/Makefile.bor
binutils-2.41/zlib/win32/Makefile.gcc
binutils-2.41/zlib/win32/Makefile.msc
binutils-2.41/zlib/win32/README-WIN32.txt
binutils-2.41/zlib/win32/VisualC.txt
binutils-2.41/zlib/win32/zlib.def
binutils-2.41/zlib/win32/zlib1.rc
binutils-2.41/zlib/zconf.h
binutils-2.41/zlib/zconf.h.cmakein
binutils-2.41/zlib/zconf.h.in
binutils-2.41/zlib/zlib.3
binutils-2.41/zlib/zlib.3.pdf
binutils-2.41/zlib/zlib.h
binutils-2.41/zlib/zlib.map
binutils-2.41/zlib/zlib.pc.cmakein
binutils-2.41/zlib/zlib.pc.in
binutils-2.41/zlib/zlib2ansi
binutils-2.41/zlib/zutil.c
binutils-2.41/zlib/zutil.h
~/cross-compiler/build-tools$

(3) build-binutilsフォルダに入る

手順 (1) で作成した build-binutils フォルダーに移動します。次のように:

$ cd build-binuitls/
~/cross-compiler/build-tools/build-binuitls$

(4) 構成

configure を実行して binutils を設定します。実際のコマンドと結果は次のとおりです (オプション --target=arm-linux に注目してください)。

~/cross-compiler/build-tools/build-binuitls$ ../binutils-2.41/configure --target=arm-linux --prefix=/usr/local/arm
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking target system type... arm-unknown-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln works... yes
checking whether ln -s works... yes
checking for a sed that does not truncate output... /usr/bin/sed
checking for gawk... gawk
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for gcc option to accept ISO C99... none needed
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking whether g++ accepts -static-libstdc++ -static-libgcc... yes
checking for gnatbind... no
checking for gnatmake... no
checking whether compiler driver understands Ada and is recent enough... no
checking for gdc... no
checking whether the D compiler works... no
checking how to compare bootstrapped objects... cmp --ignore-initial=16 $$f1 $$f2
checking for objdir... .libs
checking for isl 0.15 or later... no
required isl version is 0.15 or later
checking for default BUILD_CONFIG... 
checking for --enable-vtable-verify... no
checking for bison... bison -y
checking for bison... bison
checking for gm4... no
checking for gnum4... no
checking for m4... m4
checking for flex... flex
checking for flex... flex
checking for makeinfo... makeinfo
checking for expect... expect
checking for runtest... runtest
checking for ar... ar
checking for as... as
checking for dlltool... no
checking for dsymutil... dsymutil
checking for ld... ld
checking for lipo... no
checking for nm... nm
checking for ranlib... ranlib
checking for strip... strip
checking for windres... no
checking for windmc... no
checking for objcopy... objcopy
checking for objdump... objdump
checking for otool... no
checking for readelf... readelf
checking for -plugin option... --plugin /usr/libexec/gcc/x86_64-pc-linux-gnu/12.1.0/liblto_plugin.so
checking for arm-linux-cc... no
checking for arm-linux-gcc... no
checking for arm-linux-c++... no
checking for arm-linux-g++... no
checking for arm-linux-cxx... no
checking for arm-linux-gxx... no
checking for arm-linux-gcc... no
checking for arm-linux-gfortran... no
checking for arm-linux-gccgo... no
checking for arm-linux-gdc... no
checking for arm-linux-ar... no
checking for arm-linux-as... no
checking for arm-linux-dlltool... no
checking for arm-linux-dsymutil... no
checking for arm-linux-ld... no
checking for arm-linux-lipo... no
checking for arm-linux-nm... no
checking for arm-linux-objcopy... no
checking for arm-linux-objdump... no
checking for arm-linux-otool... no
checking for arm-linux-ranlib... no
checking for arm-linux-readelf... no
checking for arm-linux-strip... no
checking for arm-linux-windres... no
checking for arm-linux-windmc... no
checking where to find the target ar... just compiled
checking where to find the target as... just compiled
checking where to find the target cc... pre-installed
checking where to find the target c++... pre-installed
checking where to find the target c++ for libstdc++... pre-installed
checking where to find the target dlltool... just compiled
checking where to find the target dsymutil... pre-installed
checking where to find the target gcc... pre-installed
checking where to find the target gfortran... pre-installed
checking where to find the target gccgo... pre-installed
checking where to find the target gdc... pre-installed
checking where to find the target ld... just compiled
checking where to find the target lipo... pre-installed
checking where to find the target nm... just compiled
checking where to find the target objcopy... just compiled
checking where to find the target objdump... just compiled
checking where to find the target otool... pre-installed
checking where to find the target ranlib... just compiled
checking where to find the target readelf... just compiled
checking where to find the target strip... just compiled
checking where to find the target windres... just compiled
checking where to find the target windmc... just compiled
checking whether to enable maintainer-specific portions of Makefiles... no
configure: creating ./config.status
config.status: creating Makefile
~/cross-compiler/build-tools/build-binuitls$ 

(5) コンパイル

makeコマンドを実行してbinutilsをコンパイルします。実際のコマンドと結果は次のとおりです (プロセスは長く、コンテンツが多く、インターセプトされた部分が含まれます)。

~/cross-compiler/build-tools/build-binuitls$ make
…… 
CCLD     libldtestplug.la
  CC       libldtestplug2_la-testplug2.lo
  CCLD     libldtestplug2.la
  CC       libldtestplug3_la-testplug3.lo
  CCLD     libldtestplug3.la
  CC       libldtestplug4_la-testplug4.lo
  CCLD     libldtestplug4.la
  CC       ldgram.o
  CC       ldlex-wrapper.o
  CC       lexsup.o
  CC       ldlang.o
  CC       mri.o
  CC       ldctor.o
  CC       ldmain.o
  CC       ldwrite.o
  CC       ldexp.o
  CC       ldemul.o
  CC       ldver.o
  CC       ldmisc.o
  CC       ldfile.o
  CC       ldcref.o
  CC       plugin.o
  CC       ldbuildid.o
  GEN      stringify.sed
  GEN      earmelf_linux.c
make[5]: 进入目录“/home/penghao/cross-compiler/build-tools/build-binuitls/ld”
make[5]: 离开目录“/home/penghao/cross-compiler/build-tools/build-binuitls/ld”
  CC       earmelf_linux.o
  GEN      earmelf.c
make[5]: 进入目录“/home/penghao/cross-compiler/build-tools/build-binuitls/ld”
make[5]: 离开目录“/home/penghao/cross-compiler/build-tools/build-binuitls/ld”
  CC       earmelf.o
  GEN      earmelfb.c
make[5]: 进入目录“/home/penghao/cross-compiler/build-tools/build-binuitls/ld”
make[5]: 离开目录“/home/penghao/cross-compiler/build-tools/build-binuitls/ld”
  CC       earmelfb.o
  GEN      earmelfb_linux.c
make[5]: 进入目录“/home/penghao/cross-compiler/build-tools/build-binuitls/ld”
make[5]: 离开目录“/home/penghao/cross-compiler/build-tools/build-binuitls/ld”
  CC       earmelfb_linux.o
  CC       ldelf.o
  CC       ldelfgen.o
  CCLD     ld-new
make[4]: 离开目录“/home/penghao/cross-compiler/build-tools/build-binuitls/ld”
make[3]: 离开目录“/home/penghao/cross-compiler/build-tools/build-binuitls/ld”
make[2]: 离开目录“/home/penghao/cross-compiler/build-tools/build-binuitls/ld”
make[1]: 对“all-target”无需做任何事。make[1]: 离开目录“/home/penghao/cross-compiler/build-tools/build-binuitls”
~/cross-compiler/build-tools/build-binuitls$ 

筆者のコンピュータ環境では、このプロセス全体にかかる時間は約 6 ~ 8 分です。

(6) 設置

make installコマンドを実行してbinutilsをインストールします。実際のコマンドと結果は次のとおりです。

~/cross-compiler/build-tools/build-binuitls$ make install
make[1]: 进入目录“/home/penghao/cross-compiler/build-tools/build-binuitls”
/bin/sh ../binutils-2.41/mkinstalldirs /usr/local/arm /usr/local/arm
make[2]: 进入目录“/home/penghao/cross-compiler/build-tools/build-binuitls/libsframe”
make[3]: 进入目录“/home/penghao/cross-compiler/build-tools/build-binuitls/libsframe”
 /usr/bin/mkdir -p '/usr/local/arm/share/info'
 /usr/bin/install -c -m 644 ../../binutils-2.41/libsframe/doc/sframe-spec.info '/usr/local/arm/share/info'
 install-info --info-dir='/usr/local/arm/share/info' '/usr/local/arm/share/info/sframe-spec.info'
make[3]: 离开目录“/home/penghao/cross-compiler/build-tools/build-binuitls/libsframe”
make[2]: 离开目录“/home/penghao/cross-compiler/build-tools/build-binuitls/libsframe”
make[2]: 进入目录“/home/penghao/cross-compiler/build-tools/build-binuitls/bfd”
make  install-recursive
make[3]: 进入目录“/home/penghao/cross-compiler/build-tools/build-binuitls/bfd”
Making install in po
make[4]: 进入目录“/home/penghao/cross-compiler/build-tools/build-binuitls/bfd/po”
if test -r ../../../binutils-2.41/bfd/../mkinstalldirs; then \
  ../../../binutils-2.41/bfd/../mkinstalldirs /usr/local/arm/share; \
else \
  ../../../binutils-2.41/bfd/mkinstalldirs /usr/local/arm/share; \
fi
mkdir -p -- /usr/local/arm/share/locale/da/LC_MESSAGES
installing ../../../binutils-2.41/bfd/po/da.gmo as /usr/local/arm/share/locale/da/LC_MESSAGES/bfd.mo
mkdir -p -- /usr/local/arm/share/locale/es/LC_MESSAGES
installing ../../../binutils-2.41/bfd/po/es.gmo as /usr/local/arm/share/locale/es/LC_MESSAGES/bfd.mo
mkdir -p -- /usr/local/arm/share/locale/fi/LC_MESSAGES
installing ../../../binutils-2.41/bfd/po/fi.gmo as /usr/local/arm/share/locale/fi/LC_MESSAGES/bfd.mo
mkdir -p -- /usr/local/arm/share/locale/fr/LC_MESSAGES
installing ../../../binutils-2.41/bfd/po/fr.gmo as /usr/local/arm/share/locale/fr/LC_MESSAGES/bfd.mo
mkdir -p -- /usr/local/arm/share/locale/hr/LC_MESSAGES
installing ../../../binutils-2.41/bfd/po/hr.gmo as /usr/local/arm/share/locale/hr/LC_MESSAGES/bfd.mo
mkdir -p -- /usr/local/arm/share/locale/id/LC_MESSAGES
installing ../../../binutils-2.41/bfd/po/id.gmo as /usr/local/arm/share/locale/id/LC_MESSAGES/bfd.mo
mkdir -p -- /usr/local/arm/share/locale/ja/LC_MESSAGES
installing ../../../binutils-2.41/bfd/po/ja.gmo as /usr/local/arm/share/locale/ja/LC_MESSAGES/bfd.mo
mkdir -p -- /usr/local/arm/share/locale/ka/LC_MESSAGES
installing ../../../binutils-2.41/bfd/po/ka.gmo as /usr/local/arm/share/locale/ka/LC_MESSAGES/bfd.mo
mkdir -p -- /usr/local/arm/share/locale/pt/LC_MESSAGES
installing ../../../binutils-2.41/bfd/po/pt.gmo as /usr/local/arm/share/locale/pt/LC_MESSAGES/bfd.mo
mkdir -p -- /usr/local/arm/share/locale/ro/LC_MESSAGES
installing ../../../binutils-2.41/bfd/po/ro.gmo as /usr/local/arm/share/locale/ro/LC_MESSAGES/bfd.mo
mkdir -p -- /usr/local/arm/share/locale/ru/LC_MESSAGES
installing ../../../binutils-2.41/bfd/po/ru.gmo as /usr/local/arm/share/locale/ru/LC_MESSAGES/bfd.mo
mkdir -p -- /usr/local/arm/share/locale/rw/LC_MESSAGES
installing ../../../binutils-2.41/bfd/po/rw.gmo as /usr/local/arm/share/locale/rw/LC_MESSAGES/bfd.mo
mkdir -p -- /usr/local/arm/share/locale/sr/LC_MESSAGES
installing ../../../binutils-2.41/bfd/po/sr.gmo as /usr/local/arm/share/locale/sr/LC_MESSAGES/bfd.mo
mkdir -p -- /usr/local/arm/share/locale/sv/LC_MESSAGES
installing ../../../binutils-2.41/bfd/po/sv.gmo as /usr/local/arm/share/locale/sv/LC_MESSAGES/bfd.mo
mkdir -p -- /usr/local/arm/share/locale/tr/LC_MESSAGES
installing ../../../binutils-2.41/bfd/po/tr.gmo as /usr/local/arm/share/locale/tr/LC_MESSAGES/bfd.mo
mkdir -p -- /usr/local/arm/share/locale/uk/LC_MESSAGES
installing ../../../binutils-2.41/bfd/po/uk.gmo as /usr/local/arm/share/locale/uk/LC_MESSAGES/bfd.mo
mkdir -p -- /usr/local/arm/share/locale/vi/LC_MESSAGES
installing ../../../binutils-2.41/bfd/po/vi.gmo as /usr/local/arm/share/locale/vi/LC_MESSAGES/bfd.mo
mkdir -p -- /usr/local/arm/share/locale/zh_CN/LC_MESSAGES
installing ../../../binutils-2.41/bfd/po/zh_CN.gmo as /usr/local/arm/share/locale/zh_CN/LC_MESSAGES/bfd.mo
installing ../../../binutils-2.41/bfd/po/da.gmo as /usr/local/arm/share/locale/da/LC_MESSAGES/bfd.mo
installing ../../../binutils-2.41/bfd/po/es.gmo as /usr/local/arm/share/locale/es/LC_MESSAGES/bfd.mo
installing ../../../binutils-2.41/bfd/po/fi.gmo as /usr/local/arm/share/locale/fi/LC_MESSAGES/bfd.mo
installing ../../../binutils-2.41/bfd/po/fr.gmo as /usr/local/arm/share/locale/fr/LC_MESSAGES/bfd.mo
installing ../../../binutils-2.41/bfd/po/hr.gmo as /usr/local/arm/share/locale/hr/LC_MESSAGES/bfd.mo
installing ../../../binutils-2.41/bfd/po/id.gmo as /usr/local/arm/share/locale/id/LC_MESSAGES/bfd.mo
installing ../../../binutils-2.41/bfd/po/ja.gmo as /usr/local/arm/share/locale/ja/LC_MESSAGES/bfd.mo
installing ../../../binutils-2.41/bfd/po/ka.gmo as /usr/local/arm/share/locale/ka/LC_MESSAGES/bfd.mo
installing ../../../binutils-2.41/bfd/po/pt.gmo as /usr/local/arm/share/locale/pt/LC_MESSAGES/bfd.mo
installing ../../../binutils-2.41/bfd/po/ro.gmo as /usr/local/arm/share/locale/ro/LC_MESSAGES/bfd.mo
installing ../../../binutils-2.41/bfd/po/ru.gmo as /usr/local/arm/share/locale/ru/LC_MESSAGES/bfd.mo
installing ../../../binutils-2.41/bfd/po/rw.gmo as /usr/local/arm/share/locale/rw/LC_MESSAGES/bfd.mo
installing ../../../binutils-2.41/bfd/po/sr.gmo as /usr/local/arm/share/locale/sr/LC_MESSAGES/bfd.mo
installing ../../../binutils-2.41/bfd/po/sv.gmo as /usr/local/arm/share/locale/sv/LC_MESSAGES/bfd.mo
installing ../../../binutils-2.41/bfd/po/tr.gmo as /usr/local/arm/share/locale/tr/LC_MESSAGES/bfd.mo
installing ../../../binutils-2.41/bfd/po/uk.gmo as /usr/local/arm/share/locale/uk/LC_MESSAGES/bfd.mo
installing ../../../binutils-2.41/bfd/po/vi.gmo as /usr/local/arm/share/locale/vi/LC_MESSAGES/bfd.mo
installing ../../../binutils-2.41/bfd/po/zh_CN.gmo as /usr/local/arm/share/locale/zh_CN/LC_MESSAGES/bfd.mo
if test "bfd" = "gettext"; then \
  if test -r ../../../binutils-2.41/bfd/../mkinstalldirs; then \
    ../../../binutils-2.41/bfd/../mkinstalldirs /usr/local/arm/share/gettext/po; \
  else \
    ../../../binutils-2.41/bfd/mkinstalldirs /usr/local/arm/share/gettext/po; \
  fi; \
  /usr/bin/install -c -m 644 ../../../binutils-2.41/bfd/po/Makefile.in.in \
                  /usr/local/arm/share/gettext/po/Makefile.in.in; \
else \
  : ; \
fi
make[4]: 离开目录“/home/penghao/cross-compiler/build-tools/build-binuitls/bfd/po”
make[4]: 进入目录“/home/penghao/cross-compiler/build-tools/build-binuitls/bfd”
make[5]: 进入目录“/home/penghao/cross-compiler/build-tools/build-binuitls/bfd”
make[5]: 对“install-exec-am”无需做任何事。 /usr/bin/mkdir -p '/usr/local/arm/share/info'
 /usr/bin/install -c -m 644 ./doc/bfd.info '/usr/local/arm/share/info'
 install-info --info-dir='/usr/local/arm/share/info' '/usr/local/arm/share/info/bfd.info'
make[5]: 离开目录“/home/penghao/cross-compiler/build-tools/build-binuitls/bfd”
make[4]: 离开目录“/home/penghao/cross-compiler/build-tools/build-binuitls/bfd”
make[3]: 离开目录“/home/penghao/cross-compiler/build-tools/build-binuitls/bfd”
make[2]: 离开目录“/home/penghao/cross-compiler/build-tools/build-binuitls/bfd”
make[2]: 进入目录“/home/penghao/cross-compiler/build-tools/build-binuitls/opcodes”
Making install in .
make[3]: 进入目录“/home/penghao/cross-compiler/build-tools/build-binuitls/opcodes”
make[4]: 进入目录“/home/penghao/cross-compiler/build-tools/build-binuitls/opcodes”
make[4]: 对“install-exec-am”无需做任何事。make[4]: 离开目录“/home/penghao/cross-compiler/build-tools/build-binuitls/opcodes”
make[3]: 离开目录“/home/penghao/cross-compiler/build-tools/build-binuitls/opcodes”
Making install in po
make[3]: 进入目录“/home/penghao/cross-compiler/build-tools/build-binuitls/opcodes/po”
if test -r ../../../binutils-2.41/opcodes/../mkinstalldirs; then \
  ../../../binutils-2.41/opcodes/../mkinstalldirs /usr/local/arm/share; \
else \
  ../../../binutils-2.41/opcodes/mkinstalldirs /usr/local/arm/share; \
fi
installing ../../../binutils-2.41/opcodes/po/da.gmo as /usr/local/arm/share/locale/da/LC_MESSAGES/opcodes.mo
mkdir -p -- /usr/local/arm/share/locale/de/LC_MESSAGES
installing ../../../binutils-2.41/opcodes/po/de.gmo as /usr/local/arm/share/locale/de/LC_MESSAGES/opcodes.mo
installing ../../../binutils-2.41/opcodes/po/es.gmo as /usr/local/arm/share/locale/es/LC_MESSAGES/opcodes.mo
installing ../../../binutils-2.41/opcodes/po/fi.gmo as /usr/local/arm/share/locale/fi/LC_MESSAGES/opcodes.mo
installing ../../../binutils-2.41/opcodes/po/fr.gmo as /usr/local/arm/share/locale/fr/LC_MESSAGES/opcodes.mo
mkdir -p -- /usr/local/arm/share/locale/ga/LC_MESSAGES
installing ../../../binutils-2.41/opcodes/po/ga.gmo as /usr/local/arm/share/locale/ga/LC_MESSAGES/opcodes.mo
installing ../../../binutils-2.41/opcodes/po/id.gmo as /usr/local/arm/share/locale/id/LC_MESSAGES/opcodes.mo
mkdir -p -- /usr/local/arm/share/locale/it/LC_MESSAGES
installing ../../../binutils-2.41/opcodes/po/it.gmo as /usr/local/arm/share/locale/it/LC_MESSAGES/opcodes.mo
mkdir -p -- /usr/local/arm/share/locale/nl/LC_MESSAGES
installing ../../../binutils-2.41/opcodes/po/nl.gmo as /usr/local/arm/share/locale/nl/LC_MESSAGES/opcodes.mo
mkdir -p -- /usr/local/arm/share/locale/pt_BR/LC_MESSAGES
installing ../../../binutils-2.41/opcodes/po/pt_BR.gmo as /usr/local/arm/share/locale/pt_BR/LC_MESSAGES/opcodes.mo
installing ../../../binutils-2.41/opcodes/po/ro.gmo as /usr/local/arm/share/locale/ro/LC_MESSAGES/opcodes.mo
installing ../../../binutils-2.41/opcodes/po/sr.gmo as /usr/local/arm/share/locale/sr/LC_MESSAGES/opcodes.mo
installing ../../../binutils-2.41/opcodes/po/sv.gmo as /usr/local/arm/share/locale/sv/LC_MESSAGES/opcodes.mo
installing ../../../binutils-2.41/opcodes/po/tr.gmo as /usr/local/arm/share/locale/tr/LC_MESSAGES/opcodes.mo
installing ../../../binutils-2.41/opcodes/po/uk.gmo as /usr/local/arm/share/locale/uk/LC_MESSAGES/opcodes.mo
installing ../../../binutils-2.41/opcodes/po/vi.gmo as /usr/local/arm/share/locale/vi/LC_MESSAGES/opcodes.mo
installing ../../../binutils-2.41/opcodes/po/zh_CN.gmo as /usr/local/arm/share/locale/zh_CN/LC_MESSAGES/opcodes.mo
installing ../../../binutils-2.41/opcodes/po/da.gmo as /usr/local/arm/share/locale/da/LC_MESSAGES/opcodes.mo
installing ../../../binutils-2.41/opcodes/po/de.gmo as /usr/local/arm/share/locale/de/LC_MESSAGES/opcodes.mo
installing ../../../binutils-2.41/opcodes/po/es.gmo as /usr/local/arm/share/locale/es/LC_MESSAGES/opcodes.mo
installing ../../../binutils-2.41/opcodes/po/fi.gmo as /usr/local/arm/share/locale/fi/LC_MESSAGES/opcodes.mo
installing ../../../binutils-2.41/opcodes/po/fr.gmo as /usr/local/arm/share/locale/fr/LC_MESSAGES/opcodes.mo
installing ../../../binutils-2.41/opcodes/po/ga.gmo as /usr/local/arm/share/locale/ga/LC_MESSAGES/opcodes.mo
installing ../../../binutils-2.41/opcodes/po/id.gmo as /usr/local/arm/share/locale/id/LC_MESSAGES/opcodes.mo
installing ../../../binutils-2.41/opcodes/po/it.gmo as /usr/local/arm/share/locale/it/LC_MESSAGES/opcodes.mo
installing ../../../binutils-2.41/opcodes/po/nl.gmo as /usr/local/arm/share/locale/nl/LC_MESSAGES/opcodes.mo
installing ../../../binutils-2.41/opcodes/po/pt_BR.gmo as /usr/local/arm/share/locale/pt_BR/LC_MESSAGES/opcodes.mo
installing ../../../binutils-2.41/opcodes/po/ro.gmo as /usr/local/arm/share/locale/ro/LC_MESSAGES/opcodes.mo
installing ../../../binutils-2.41/opcodes/po/sr.gmo as /usr/local/arm/share/locale/sr/LC_MESSAGES/opcodes.mo
installing ../../../binutils-2.41/opcodes/po/sv.gmo as /usr/local/arm/share/locale/sv/LC_MESSAGES/opcodes.mo
installing ../../../binutils-2.41/opcodes/po/tr.gmo as /usr/local/arm/share/locale/tr/LC_MESSAGES/opcodes.mo
installing ../../../binutils-2.41/opcodes/po/uk.gmo as /usr/local/arm/share/locale/uk/LC_MESSAGES/opcodes.mo
installing ../../../binutils-2.41/opcodes/po/vi.gmo as /usr/local/arm/share/locale/vi/LC_MESSAGES/opcodes.mo
installing ../../../binutils-2.41/opcodes/po/zh_CN.gmo as /usr/local/arm/share/locale/zh_CN/LC_MESSAGES/opcodes.mo
if test "opcodes" = "gettext"; then \
  if test -r ../../../binutils-2.41/opcodes/../mkinstalldirs; then \
    ../../../binutils-2.41/opcodes/../mkinstalldirs /usr/local/arm/share/gettext/po; \
  else \
    ../../../binutils-2.41/opcodes/mkinstalldirs /usr/local/arm/share/gettext/po; \
  fi; \
  /usr/bin/install -c -m 644 ../../../binutils-2.41/opcodes/po/Makefile.in.in \
                  /usr/local/arm/share/gettext/po/Makefile.in.in; \
else \
  : ; \
fi
make[3]: 离开目录“/home/penghao/cross-compiler/build-tools/build-binuitls/opcodes/po”
make[2]: 离开目录“/home/penghao/cross-compiler/build-tools/build-binuitls/opcodes”
make[2]: 进入目录“/home/penghao/cross-compiler/build-tools/build-binuitls/binutils”
make  install-recursive
make[3]: 进入目录“/home/penghao/cross-compiler/build-tools/build-binuitls/binutils”
Making install in po
make[4]: 进入目录“/home/penghao/cross-compiler/build-tools/build-binuitls/binutils/po”
if test -r ../../../binutils-2.41/binutils/../mkinstalldirs; then \
  ../../../binutils-2.41/binutils/../mkinstalldirs /usr/local/arm/share; \
else \
  ../../../binutils-2.41/binutils/mkinstalldirs /usr/local/arm/share; \
fi
mkdir -p -- /usr/local/arm/share/locale/bg/LC_MESSAGES
installing ../../../binutils-2.41/binutils/po/bg.gmo as /usr/local/arm/share/locale/bg/LC_MESSAGES/binutils.mo
mkdir -p -- /usr/local/arm/share/locale/ca/LC_MESSAGES
installing ../../../binutils-2.41/binutils/po/ca.gmo as /usr/local/arm/share/locale/ca/LC_MESSAGES/binutils.mo
installing ../../../binutils-2.41/binutils/po/da.gmo as /usr/local/arm/share/locale/da/LC_MESSAGES/binutils.mo
installing ../../../binutils-2.41/binutils/po/es.gmo as /usr/local/arm/share/locale/es/LC_MESSAGES/binutils.mo
installing ../../../binutils-2.41/binutils/po/fi.gmo as /usr/local/arm/share/locale/fi/LC_MESSAGES/binutils.mo
installing ../../../binutils-2.41/binutils/po/fr.gmo as /usr/local/arm/share/locale/fr/LC_MESSAGES/binutils.mo
installing ../../../binutils-2.41/binutils/po/hr.gmo as /usr/local/arm/share/locale/hr/LC_MESSAGES/binutils.mo
installing ../../../binutils-2.41/binutils/po/id.gmo as /usr/local/arm/share/locale/id/LC_MESSAGES/binutils.mo
installing ../../../binutils-2.41/binutils/po/it.gmo as /usr/local/arm/share/locale/it/LC_MESSAGES/binutils.mo
installing ../../../binutils-2.41/binutils/po/ja.gmo as /usr/local/arm/share/locale/ja/LC_MESSAGES/binutils.mo
installing ../../../binutils-2.41/binutils/po/pt.gmo as /usr/local/arm/share/locale/pt/LC_MESSAGES/binutils.mo
installing ../../../binutils-2.41/binutils/po/ro.gmo as /usr/local/arm/share/locale/ro/LC_MESSAGES/binutils.mo
installing ../../../binutils-2.41/binutils/po/ru.gmo as /usr/local/arm/share/locale/ru/LC_MESSAGES/binutils.mo
installing ../../../binutils-2.41/binutils/po/rw.gmo as /usr/local/arm/share/locale/rw/LC_MESSAGES/binutils.mo
mkdir -p -- /usr/local/arm/share/locale/sk/LC_MESSAGES
installing ../../../binutils-2.41/binutils/po/sk.gmo as /usr/local/arm/share/locale/sk/LC_MESSAGES/binutils.mo
installing ../../../binutils-2.41/binutils/po/sr.gmo as /usr/local/arm/share/locale/sr/LC_MESSAGES/binutils.mo
installing ../../../binutils-2.41/binutils/po/sv.gmo as /usr/local/arm/share/locale/sv/LC_MESSAGES/binutils.mo
installing ../../../binutils-2.41/binutils/po/tr.gmo as /usr/local/arm/share/locale/tr/LC_MESSAGES/binutils.mo
installing ../../../binutils-2.41/binutils/po/uk.gmo as /usr/local/arm/share/locale/uk/LC_MESSAGES/binutils.mo
installing ../../../binutils-2.41/binutils/po/vi.gmo as /usr/local/arm/share/locale/vi/LC_MESSAGES/binutils.mo
installing ../../../binutils-2.41/binutils/po/zh_CN.gmo as /usr/local/arm/share/locale/zh_CN/LC_MESSAGES/binutils.mo
mkdir -p -- /usr/local/arm/share/locale/zh_TW/LC_MESSAGES
installing ../../../binutils-2.41/binutils/po/zh_TW.gmo as /usr/local/arm/share/locale/zh_TW/LC_MESSAGES/binutils.mo
installing ../../../binutils-2.41/binutils/po/bg.gmo as /usr/local/arm/share/locale/bg/LC_MESSAGES/binutils.mo
installing ../../../binutils-2.41/binutils/po/ca.gmo as /usr/local/arm/share/locale/ca/LC_MESSAGES/binutils.mo
installing ../../../binutils-2.41/binutils/po/da.gmo as /usr/local/arm/share/locale/da/LC_MESSAGES/binutils.mo
installing ../../../binutils-2.41/binutils/po/es.gmo as /usr/local/arm/share/locale/es/LC_MESSAGES/binutils.mo
installing ../../../binutils-2.41/binutils/po/fi.gmo as /usr/local/arm/share/locale/fi/LC_MESSAGES/binutils.mo
installing ../../../binutils-2.41/binutils/po/fr.gmo as /usr/local/arm/share/locale/fr/LC_MESSAGES/binutils.mo
installing ../../../binutils-2.41/binutils/po/hr.gmo as /usr/local/arm/share/locale/hr/LC_MESSAGES/binutils.mo
installing ../../../binutils-2.41/binutils/po/id.gmo as /usr/local/arm/share/locale/id/LC_MESSAGES/binutils.mo
installing ../../../binutils-2.41/binutils/po/it.gmo as /usr/local/arm/share/locale/it/LC_MESSAGES/binutils.mo
installing ../../../binutils-2.41/binutils/po/ja.gmo as /usr/local/arm/share/locale/ja/LC_MESSAGES/binutils.mo
installing ../../../binutils-2.41/binutils/po/pt.gmo as /usr/local/arm/share/locale/pt/LC_MESSAGES/binutils.mo
installing ../../../binutils-2.41/binutils/po/ro.gmo as /usr/local/arm/share/locale/ro/LC_MESSAGES/binutils.mo
installing ../../../binutils-2.41/binutils/po/ru.gmo as /usr/local/arm/share/locale/ru/LC_MESSAGES/binutils.mo
installing ../../../binutils-2.41/binutils/po/rw.gmo as /usr/local/arm/share/locale/rw/LC_MESSAGES/binutils.mo
installing ../../../binutils-2.41/binutils/po/sk.gmo as /usr/local/arm/share/locale/sk/LC_MESSAGES/binutils.mo
installing ../../../binutils-2.41/binutils/po/sr.gmo as /usr/local/arm/share/locale/sr/LC_MESSAGES/binutils.mo
installing ../../../binutils-2.41/binutils/po/sv.gmo as /usr/local/arm/share/locale/sv/LC_MESSAGES/binutils.mo
installing ../../../binutils-2.41/binutils/po/tr.gmo as /usr/local/arm/share/locale/tr/LC_MESSAGES/binutils.mo
installing ../../../binutils-2.41/binutils/po/uk.gmo as /usr/local/arm/share/locale/uk/LC_MESSAGES/binutils.mo
installing ../../../binutils-2.41/binutils/po/vi.gmo as /usr/local/arm/share/locale/vi/LC_MESSAGES/binutils.mo
installing ../../../binutils-2.41/binutils/po/zh_CN.gmo as /usr/local/arm/share/locale/zh_CN/LC_MESSAGES/binutils.mo
installing ../../../binutils-2.41/binutils/po/zh_TW.gmo as /usr/local/arm/share/locale/zh_TW/LC_MESSAGES/binutils.mo
if test "binutils" = "gettext"; then \
  if test -r ../../../binutils-2.41/binutils/../mkinstalldirs; then \
    ../../../binutils-2.41/binutils/../mkinstalldirs /usr/local/arm/share/gettext/po; \
  else \
    ../../../binutils-2.41/binutils/mkinstalldirs /usr/local/arm/share/gettext/po; \
  fi; \
  /usr/bin/install -c -m 644 ../../../binutils-2.41/binutils/po/Makefile.in.in \
                  /usr/local/arm/share/gettext/po/Makefile.in.in; \
else \
  : ; \
fi
make[4]: 离开目录“/home/penghao/cross-compiler/build-tools/build-binuitls/binutils/po”
make[4]: 进入目录“/home/penghao/cross-compiler/build-tools/build-binuitls/binutils”
make[5]: 进入目录“/home/penghao/cross-compiler/build-tools/build-binuitls/binutils”
 /usr/bin/mkdir -p '/usr/local/arm/bin'
  /bin/sh ./libtool   --mode=install /usr/bin/install -c size '/usr/local/arm/bin/./arm-linux-size'
libtool: install: /usr/bin/install -c size /usr/local/arm/bin/./arm-linux-size
  /bin/sh ./libtool   --mode=install /usr/bin/install -c objdump '/usr/local/arm/bin/./arm-linux-objdump'
libtool: install: /usr/bin/install -c objdump /usr/local/arm/bin/./arm-linux-objdump
  /bin/sh ./libtool   --mode=install /usr/bin/install -c ar '/usr/local/arm/bin/./arm-linux-ar'
libtool: install: /usr/bin/install -c ar /usr/local/arm/bin/./arm-linux-ar
  /bin/sh ./libtool   --mode=install /usr/bin/install -c strings '/usr/local/arm/bin/./arm-linux-strings'
libtool: install: /usr/bin/install -c strings /usr/local/arm/bin/./arm-linux-strings
  /bin/sh ./libtool   --mode=install /usr/bin/install -c ranlib '/usr/local/arm/bin/./arm-linux-ranlib'
libtool: install: /usr/bin/install -c ranlib /usr/local/arm/bin/./arm-linux-ranlib
  /bin/sh ./libtool   --mode=install /usr/bin/install -c objcopy '/usr/local/arm/bin/./arm-linux-objcopy'
libtool: install: /usr/bin/install -c objcopy /usr/local/arm/bin/./arm-linux-objcopy
  /bin/sh ./libtool   --mode=install /usr/bin/install -c addr2line '/usr/local/arm/bin/./arm-linux-addr2line'
libtool: install: /usr/bin/install -c addr2line /usr/local/arm/bin/./arm-linux-addr2line
  /bin/sh ./libtool   --mode=install /usr/bin/install -c readelf '/usr/local/arm/bin/./arm-linux-readelf'
libtool: install: /usr/bin/install -c readelf /usr/local/arm/bin/./arm-linux-readelf
  /bin/sh ./libtool   --mode=install /usr/bin/install -c elfedit '/usr/local/arm/bin/./arm-linux-elfedit'
libtool: install: /usr/bin/install -c elfedit /usr/local/arm/bin/./arm-linux-elfedit
  /bin/sh ./libtool  --mode=install /usr/bin/install -c nm-new /usr/local/arm/bin/arm-linux-nm
libtool: install: /usr/bin/install -c nm-new /usr/local/arm/bin/arm-linux-nm
  /bin/sh ./libtool  --mode=install /usr/bin/install -c strip-new /usr/local/arm/bin/arm-linux-strip
libtool: install: /usr/bin/install -c strip-new /usr/local/arm/bin/arm-linux-strip
  /bin/sh ./libtool  --mode=install /usr/bin/install -c cxxfilt /usr/local/arm/bin/arm-linux-c++filt
libtool: install: /usr/bin/install -c cxxfilt /usr/local/arm/bin/arm-linux-c++filt
/bin/sh ../../binutils-2.41/binutils/../mkinstalldirs /usr/local/arm/arm-linux/bin
mkdir -p -- /usr/local/arm/arm-linux/bin
for i in nm-new strip-new ar ranlib dlltool objdump objcopy readelf; do \
  if [ -f $i ]; then \
    j=`echo $i | sed -e 's/-new//'`; \
    k=`echo $j | sed 's&^&arm-linux-&'`; \
    if [ "/usr/local/arm/bin/$k" != "/usr/local/arm/arm-linux/bin/$j" ]; then \
      rm -f /usr/local/arm/arm-linux/bin/$j; \
      ln /usr/local/arm/bin/$k /usr/local/arm/arm-linux/bin/$j >/dev/null 2>/dev/null \
        ||  /bin/sh ./libtool --mode=install /usr/bin/install -c $i /usr/local/arm/arm-linux/bin/$j; \
    fi; \
  else true; \
  fi; \
done
 /usr/bin/mkdir -p '/usr/local/arm/share/info'
 /usr/bin/install -c -m 644 ../../binutils-2.41/binutils/doc/binutils.info '/usr/local/arm/share/info'
 install-info --info-dir='/usr/local/arm/share/info' '/usr/local/arm/share/info/binutils.info'
 /usr/bin/mkdir -p '/usr/local/arm/share/man/man1'
 /usr/bin/install -c -m 644 'doc/addr2line.1' '/usr/local/arm/share/man/man1/arm-linux-addr2line.1'
 /usr/bin/install -c -m 644 'doc/ar.1' '/usr/local/arm/share/man/man1/arm-linux-ar.1'
 /usr/bin/install -c -m 644 'doc/dlltool.1' '/usr/local/arm/share/man/man1/arm-linux-dlltool.1'
 /usr/bin/install -c -m 644 'doc/nm.1' '/usr/local/arm/share/man/man1/arm-linux-nm.1'
 /usr/bin/install -c -m 644 'doc/objcopy.1' '/usr/local/arm/share/man/man1/arm-linux-objcopy.1'
 /usr/bin/install -c -m 644 'doc/objdump.1' '/usr/local/arm/share/man/man1/arm-linux-objdump.1'
 /usr/bin/install -c -m 644 'doc/ranlib.1' '/usr/local/arm/share/man/man1/arm-linux-ranlib.1'
 /usr/bin/install -c -m 644 'doc/readelf.1' '/usr/local/arm/share/man/man1/arm-linux-readelf.1'
 /usr/bin/install -c -m 644 'doc/size.1' '/usr/local/arm/share/man/man1/arm-linux-size.1'
 /usr/bin/install -c -m 644 'doc/strings.1' '/usr/local/arm/share/man/man1/arm-linux-strings.1'
 /usr/bin/install -c -m 644 'doc/strip.1' '/usr/local/arm/share/man/man1/arm-linux-strip.1'
 /usr/bin/install -c -m 644 'doc/elfedit.1' '/usr/local/arm/share/man/man1/arm-linux-elfedit.1'
 /usr/bin/install -c -m 644 'doc/windres.1' '/usr/local/arm/share/man/man1/arm-linux-windres.1'
 /usr/bin/install -c -m 644 'doc/windmc.1' '/usr/local/arm/share/man/man1/arm-linux-windmc.1'
 /usr/bin/install -c -m 644 'doc/c++filt.1' '/usr/local/arm/share/man/man1/arm-linux-c++filt.1'
make[5]: 离开目录“/home/penghao/cross-compiler/build-tools/build-binuitls/binutils”
make[4]: 离开目录“/home/penghao/cross-compiler/build-tools/build-binuitls/binutils”
make[3]: 离开目录“/home/penghao/cross-compiler/build-tools/build-binuitls/binutils”
make[2]: 离开目录“/home/penghao/cross-compiler/build-tools/build-binuitls/binutils”
make[2]: 进入目录“/home/penghao/cross-compiler/build-tools/build-binuitls/etc”
make[3]: 进入目录“/home/penghao/cross-compiler/build-tools/build-binuitls/etc”
make[3]: 对“install-exec-am”无需做任何事。make[3]: 对“install-data-am”无需做任何事。make[3]: 离开目录“/home/penghao/cross-compiler/build-tools/build-binuitls/etc”
make[2]: 离开目录“/home/penghao/cross-compiler/build-tools/build-binuitls/etc”
make[2]: 进入目录“/home/penghao/cross-compiler/build-tools/build-binuitls/gas”
Making install in po
make[3]: 进入目录“/home/penghao/cross-compiler/build-tools/build-binuitls/gas/po”
if test -r ../../../binutils-2.41/gas/../mkinstalldirs; then \
  ../../../binutils-2.41/gas/../mkinstalldirs /usr/local/arm/share; \
else \
  ../../../binutils-2.41/gas/mkinstalldirs /usr/local/arm/share; \
fi
installing ../../../binutils-2.41/gas/po/es.gmo as /usr/local/arm/share/locale/es/LC_MESSAGES/gas.mo
installing ../../../binutils-2.41/gas/po/fi.gmo as /usr/local/arm/share/locale/fi/LC_MESSAGES/gas.mo
installing ../../../binutils-2.41/gas/po/fr.gmo as /usr/local/arm/share/locale/fr/LC_MESSAGES/gas.mo
installing ../../../binutils-2.41/gas/po/id.gmo as /usr/local/arm/share/locale/id/LC_MESSAGES/gas.mo
installing ../../../binutils-2.41/gas/po/ja.gmo as /usr/local/arm/share/locale/ja/LC_MESSAGES/gas.mo
installing ../../../binutils-2.41/gas/po/ru.gmo as /usr/local/arm/share/locale/ru/LC_MESSAGES/gas.mo
installing ../../../binutils-2.41/gas/po/rw.gmo as /usr/local/arm/share/locale/rw/LC_MESSAGES/gas.mo
installing ../../../binutils-2.41/gas/po/sv.gmo as /usr/local/arm/share/locale/sv/LC_MESSAGES/gas.mo
installing ../../../binutils-2.41/gas/po/tr.gmo as /usr/local/arm/share/locale/tr/LC_MESSAGES/gas.mo
installing ../../../binutils-2.41/gas/po/uk.gmo as /usr/local/arm/share/locale/uk/LC_MESSAGES/gas.mo
installing ../../../binutils-2.41/gas/po/zh_CN.gmo as /usr/local/arm/share/locale/zh_CN/LC_MESSAGES/gas.mo
installing ../../../binutils-2.41/gas/po/es.gmo as /usr/local/arm/share/locale/es/LC_MESSAGES/gas.mo
installing ../../../binutils-2.41/gas/po/fi.gmo as /usr/local/arm/share/locale/fi/LC_MESSAGES/gas.mo
installing ../../../binutils-2.41/gas/po/fr.gmo as /usr/local/arm/share/locale/fr/LC_MESSAGES/gas.mo
installing ../../../binutils-2.41/gas/po/id.gmo as /usr/local/arm/share/locale/id/LC_MESSAGES/gas.mo
installing ../../../binutils-2.41/gas/po/ja.gmo as /usr/local/arm/share/locale/ja/LC_MESSAGES/gas.mo
installing ../../../binutils-2.41/gas/po/ru.gmo as /usr/local/arm/share/locale/ru/LC_MESSAGES/gas.mo
installing ../../../binutils-2.41/gas/po/rw.gmo as /usr/local/arm/share/locale/rw/LC_MESSAGES/gas.mo
installing ../../../binutils-2.41/gas/po/sv.gmo as /usr/local/arm/share/locale/sv/LC_MESSAGES/gas.mo
installing ../../../binutils-2.41/gas/po/tr.gmo as /usr/local/arm/share/locale/tr/LC_MESSAGES/gas.mo
installing ../../../binutils-2.41/gas/po/uk.gmo as /usr/local/arm/share/locale/uk/LC_MESSAGES/gas.mo
installing ../../../binutils-2.41/gas/po/zh_CN.gmo as /usr/local/arm/share/locale/zh_CN/LC_MESSAGES/gas.mo
if test "gas" = "gettext"; then \
  if test -r ../../../binutils-2.41/gas/../mkinstalldirs; then \
    ../../../binutils-2.41/gas/../mkinstalldirs /usr/local/arm/share/gettext/po; \
  else \
    ../../../binutils-2.41/gas/mkinstalldirs /usr/local/arm/share/gettext/po; \
  fi; \
  /usr/bin/install -c -m 644 ../../../binutils-2.41/gas/po/Makefile.in.in \
                  /usr/local/arm/share/gettext/po/Makefile.in.in; \
else \
  : ; \
fi
make[3]: 离开目录“/home/penghao/cross-compiler/build-tools/build-binuitls/gas/po”
make[3]: 进入目录“/home/penghao/cross-compiler/build-tools/build-binuitls/gas”
  GEN      doc/asconfig.texi
make[4]: 进入目录“/home/penghao/cross-compiler/build-tools/build-binuitls/gas”
/bin/sh ../../binutils-2.41/gas/../mkinstalldirs /usr/local/arm/bin
  /bin/sh ./libtool  --mode=install /usr/bin/install -c as-new /usr/local/arm/bin/arm-linux-as
libtool: install: /usr/bin/install -c as-new /usr/local/arm/bin/arm-linux-as
/bin/sh ../../binutils-2.41/gas/../mkinstalldirs /usr/local/arm/arm-linux/bin
n=`echo as | sed 's&^&arm-linux-&'`; \
if [ "/usr/local/arm/bin/$n" != "/usr/local/arm/arm-linux/bin/as" ]; then \
  rm -f /usr/local/arm/arm-linux/bin/as; \
  ln /usr/local/arm/bin/$n /usr/local/arm/arm-linux/bin/as >/dev/null 2>/dev/null \
    ||  /bin/sh ./libtool --mode=install /usr/bin/install -c as-new /usr/local/arm/arm-linux/bin/as; \
else \
  true ; \
fi
  GEN      doc/asconfig.texi
 /usr/bin/mkdir -p '/usr/local/arm/share/info'
 /usr/bin/install -c -m 644 ../../binutils-2.41/gas/doc/as.info '/usr/local/arm/share/info'
 install-info --info-dir='/usr/local/arm/share/info' '/usr/local/arm/share/info/as.info'
 /usr/bin/mkdir -p '/usr/local/arm/share/man/man1'
 /usr/bin/install -c -m 644 'doc/as.1' '/usr/local/arm/share/man/man1/arm-linux-as.1'
make[4]: 离开目录“/home/penghao/cross-compiler/build-tools/build-binuitls/gas”
make[3]: 离开目录“/home/penghao/cross-compiler/build-tools/build-binuitls/gas”
make[2]: 离开目录“/home/penghao/cross-compiler/build-tools/build-binuitls/gas”
make[2]: 进入目录“/home/penghao/cross-compiler/build-tools/build-binuitls/gprof”
make  install-recursive
make[3]: 进入目录“/home/penghao/cross-compiler/build-tools/build-binuitls/gprof”
Making install in po
make[4]: 进入目录“/home/penghao/cross-compiler/build-tools/build-binuitls/gprof/po”
if test -r ../../../binutils-2.41/gprof/../mkinstalldirs; then \
  ../../../binutils-2.41/gprof/../mkinstalldirs /usr/local/arm/share; \
else \
  ../../../binutils-2.41/gprof/mkinstalldirs /usr/local/arm/share; \
fi
installing ../../../binutils-2.41/gprof/po/bg.gmo as /usr/local/arm/share/locale/bg/LC_MESSAGES/gprof.mo
installing ../../../binutils-2.41/gprof/po/da.gmo as /usr/local/arm/share/locale/da/LC_MESSAGES/gprof.mo
installing ../../../binutils-2.41/gprof/po/de.gmo as /usr/local/arm/share/locale/de/LC_MESSAGES/gprof.mo
mkdir -p -- /usr/local/arm/share/locale/eo/LC_MESSAGES
installing ../../../binutils-2.41/gprof/po/eo.gmo as /usr/local/arm/share/locale/eo/LC_MESSAGES/gprof.mo
installing ../../../binutils-2.41/gprof/po/es.gmo as /usr/local/arm/share/locale/es/LC_MESSAGES/gprof.mo
installing ../../../binutils-2.41/gprof/po/fi.gmo as /usr/local/arm/share/locale/fi/LC_MESSAGES/gprof.mo
installing ../../../binutils-2.41/gprof/po/fr.gmo as /usr/local/arm/share/locale/fr/LC_MESSAGES/gprof.mo
installing ../../../binutils-2.41/gprof/po/ga.gmo as /usr/local/arm/share/locale/ga/LC_MESSAGES/gprof.mo
mkdir -p -- /usr/local/arm/share/locale/hu/LC_MESSAGES
installing ../../../binutils-2.41/gprof/po/hu.gmo as /usr/local/arm/share/locale/hu/LC_MESSAGES/gprof.mo
installing ../../../binutils-2.41/gprof/po/id.gmo as /usr/local/arm/share/locale/id/LC_MESSAGES/gprof.mo
installing ../../../binutils-2.41/gprof/po/it.gmo as /usr/local/arm/share/locale/it/LC_MESSAGES/gprof.mo
installing ../../../binutils-2.41/gprof/po/ja.gmo as /usr/local/arm/share/locale/ja/LC_MESSAGES/gprof.mo
installing ../../../binutils-2.41/gprof/po/ka.gmo as /usr/local/arm/share/locale/ka/LC_MESSAGES/gprof.mo
mkdir -p -- /usr/local/arm/share/locale/ms/LC_MESSAGES
installing ../../../binutils-2.41/gprof/po/ms.gmo as /usr/local/arm/share/locale/ms/LC_MESSAGES/gprof.mo
installing ../../../binutils-2.41/gprof/po/nl.gmo as /usr/local/arm/share/locale/nl/LC_MESSAGES/gprof.mo
installing ../../../binutils-2.41/gprof/po/pt_BR.gmo as /usr/local/arm/share/locale/pt_BR/LC_MESSAGES/gprof.mo
installing ../../../binutils-2.41/gprof/po/ro.gmo as /usr/local/arm/share/locale/ro/LC_MESSAGES/gprof.mo
installing ../../../binutils-2.41/gprof/po/ru.gmo as /usr/local/arm/share/locale/ru/LC_MESSAGES/gprof.mo
installing ../../../binutils-2.41/gprof/po/rw.gmo as /usr/local/arm/share/locale/rw/LC_MESSAGES/gprof.mo
installing ../../../binutils-2.41/gprof/po/sr.gmo as /usr/local/arm/share/locale/sr/LC_MESSAGES/gprof.mo
installing ../../../binutils-2.41/gprof/po/sv.gmo as /usr/local/arm/share/locale/sv/LC_MESSAGES/gprof.mo
installing ../../../binutils-2.41/gprof/po/tr.gmo as /usr/local/arm/share/locale/tr/LC_MESSAGES/gprof.mo
installing ../../../binutils-2.41/gprof/po/uk.gmo as /usr/local/arm/share/locale/uk/LC_MESSAGES/gprof.mo
installing ../../../binutils-2.41/gprof/po/vi.gmo as /usr/local/arm/share/locale/vi/LC_MESSAGES/gprof.mo
installing ../../../binutils-2.41/gprof/po/bg.gmo as /usr/local/arm/share/locale/bg/LC_MESSAGES/gprof.mo
installing ../../../binutils-2.41/gprof/po/da.gmo as /usr/local/arm/share/locale/da/LC_MESSAGES/gprof.mo
installing ../../../binutils-2.41/gprof/po/de.gmo as /usr/local/arm/share/locale/de/LC_MESSAGES/gprof.mo
installing ../../../binutils-2.41/gprof/po/eo.gmo as /usr/local/arm/share/locale/eo/LC_MESSAGES/gprof.mo
installing ../../../binutils-2.41/gprof/po/es.gmo as /usr/local/arm/share/locale/es/LC_MESSAGES/gprof.mo
installing ../../../binutils-2.41/gprof/po/fi.gmo as /usr/local/arm/share/locale/fi/LC_MESSAGES/gprof.mo
installing ../../../binutils-2.41/gprof/po/fr.gmo as /usr/local/arm/share/locale/fr/LC_MESSAGES/gprof.mo
installing ../../../binutils-2.41/gprof/po/ga.gmo as /usr/local/arm/share/locale/ga/LC_MESSAGES/gprof.mo
installing ../../../binutils-2.41/gprof/po/hu.gmo as /usr/local/arm/share/locale/hu/LC_MESSAGES/gprof.mo
installing ../../../binutils-2.41/gprof/po/id.gmo as /usr/local/arm/share/locale/id/LC_MESSAGES/gprof.mo
installing ../../../binutils-2.41/gprof/po/it.gmo as /usr/local/arm/share/locale/it/LC_MESSAGES/gprof.mo
installing ../../../binutils-2.41/gprof/po/ja.gmo as /usr/local/arm/share/locale/ja/LC_MESSAGES/gprof.mo
installing ../../../binutils-2.41/gprof/po/ka.gmo as /usr/local/arm/share/locale/ka/LC_MESSAGES/gprof.mo
installing ../../../binutils-2.41/gprof/po/ms.gmo as /usr/local/arm/share/locale/ms/LC_MESSAGES/gprof.mo
installing ../../../binutils-2.41/gprof/po/nl.gmo as /usr/local/arm/share/locale/nl/LC_MESSAGES/gprof.mo
installing ../../../binutils-2.41/gprof/po/pt_BR.gmo as /usr/local/arm/share/locale/pt_BR/LC_MESSAGES/gprof.mo
installing ../../../binutils-2.41/gprof/po/ro.gmo as /usr/local/arm/share/locale/ro/LC_MESSAGES/gprof.mo
installing ../../../binutils-2.41/gprof/po/ru.gmo as /usr/local/arm/share/locale/ru/LC_MESSAGES/gprof.mo
installing ../../../binutils-2.41/gprof/po/rw.gmo as /usr/local/arm/share/locale/rw/LC_MESSAGES/gprof.mo
installing ../../../binutils-2.41/gprof/po/sr.gmo as /usr/local/arm/share/locale/sr/LC_MESSAGES/gprof.mo
installing ../../../binutils-2.41/gprof/po/sv.gmo as /usr/local/arm/share/locale/sv/LC_MESSAGES/gprof.mo
installing ../../../binutils-2.41/gprof/po/tr.gmo as /usr/local/arm/share/locale/tr/LC_MESSAGES/gprof.mo
installing ../../../binutils-2.41/gprof/po/uk.gmo as /usr/local/arm/share/locale/uk/LC_MESSAGES/gprof.mo
installing ../../../binutils-2.41/gprof/po/vi.gmo as /usr/local/arm/share/locale/vi/LC_MESSAGES/gprof.mo
if test "gprof" = "gettext"; then \
  if test -r ../../../binutils-2.41/gprof/../mkinstalldirs; then \
    ../../../binutils-2.41/gprof/../mkinstalldirs /usr/local/arm/share/gettext/po; \
  else \
    ../../../binutils-2.41/gprof/mkinstalldirs /usr/local/arm/share/gettext/po; \
  fi; \
  /usr/bin/install -c -m 644 ../../../binutils-2.41/gprof/po/Makefile.in.in \
                  /usr/local/arm/share/gettext/po/Makefile.in.in; \
else \
  : ; \
fi
make[4]: 离开目录“/home/penghao/cross-compiler/build-tools/build-binuitls/gprof/po”
make[4]: 进入目录“/home/penghao/cross-compiler/build-tools/build-binuitls/gprof”
make[5]: 进入目录“/home/penghao/cross-compiler/build-tools/build-binuitls/gprof”
 /usr/bin/mkdir -p '/usr/local/arm/bin'
  /bin/sh ./libtool   --mode=install /usr/bin/install -c gprof '/usr/local/arm/bin/./arm-linux-gprof'
libtool: install: /usr/bin/install -c gprof /usr/local/arm/bin/./arm-linux-gprof
 /usr/bin/mkdir -p '/usr/local/arm/share/info'
 /usr/bin/install -c -m 644 ../../binutils-2.41/gprof/gprof.info '/usr/local/arm/share/info'
 install-info --info-dir='/usr/local/arm/share/info' '/usr/local/arm/share/info/gprof.info'
 /usr/bin/mkdir -p '/usr/local/arm/share/man/man1'
 /usr/bin/install -c -m 644 '../../binutils-2.41/gprof/gprof.1' '/usr/local/arm/share/man/man1/arm-linux-gprof.1'
make[5]: 离开目录“/home/penghao/cross-compiler/build-tools/build-binuitls/gprof”
make[4]: 离开目录“/home/penghao/cross-compiler/build-tools/build-binuitls/gprof”
make[3]: 离开目录“/home/penghao/cross-compiler/build-tools/build-binuitls/gprof”
make[2]: 离开目录“/home/penghao/cross-compiler/build-tools/build-binuitls/gprof”
make[2]: 进入目录“/home/penghao/cross-compiler/build-tools/build-binuitls/intl”
make[2]: 对“install”无需做任何事。make[2]: 离开目录“/home/penghao/cross-compiler/build-tools/build-binuitls/intl”
make[2]: 进入目录“/home/penghao/cross-compiler/build-tools/build-binuitls/libctf”
make[3]: 进入目录“/home/penghao/cross-compiler/build-tools/build-binuitls/libctf”
 /usr/bin/mkdir -p '/usr/local/arm/share/info'
 /usr/bin/install -c -m 644 ../../binutils-2.41/libctf/doc/ctf-spec.info '/usr/local/arm/share/info'
 install-info --info-dir='/usr/local/arm/share/info' '/usr/local/arm/share/info/ctf-spec.info'
make[3]: 离开目录“/home/penghao/cross-compiler/build-tools/build-binuitls/libctf”
make[2]: 离开目录“/home/penghao/cross-compiler/build-tools/build-binuitls/libctf”
make[2]: 进入目录“/home/penghao/cross-compiler/build-tools/build-binuitls/ld”
make  install-recursive
make[3]: 进入目录“/home/penghao/cross-compiler/build-tools/build-binuitls/ld”
Making install in po
make[4]: 进入目录“/home/penghao/cross-compiler/build-tools/build-binuitls/ld/po”
if test -r ../../../binutils-2.41/ld/../mkinstalldirs; then \
  ../../../binutils-2.41/ld/../mkinstalldirs /usr/local/arm/share; \
else \
  ../../../binutils-2.41/ld/mkinstalldirs /usr/local/arm/share; \
fi
installing ../../../binutils-2.41/ld/po/bg.gmo as /usr/local/arm/share/locale/bg/LC_MESSAGES/ld.mo
installing ../../../binutils-2.41/ld/po/da.gmo as /usr/local/arm/share/locale/da/LC_MESSAGES/ld.mo
installing ../../../binutils-2.41/ld/po/de.gmo as /usr/local/arm/share/locale/de/LC_MESSAGES/ld.mo
installing ../../../binutils-2.41/ld/po/es.gmo as /usr/local/arm/share/locale/es/LC_MESSAGES/ld.mo
installing ../../../binutils-2.41/ld/po/fi.gmo as /usr/local/arm/share/locale/fi/LC_MESSAGES/ld.mo
installing ../../../binutils-2.41/ld/po/fr.gmo as /usr/local/arm/share/locale/fr/LC_MESSAGES/ld.mo
installing ../../../binutils-2.41/ld/po/ga.gmo as /usr/local/arm/share/locale/ga/LC_MESSAGES/ld.mo
installing ../../../binutils-2.41/ld/po/id.gmo as /usr/local/arm/share/locale/id/LC_MESSAGES/ld.mo
installing ../../../binutils-2.41/ld/po/it.gmo as /usr/local/arm/share/locale/it/LC_MESSAGES/ld.mo
installing ../../../binutils-2.41/ld/po/ja.gmo as /usr/local/arm/share/locale/ja/LC_MESSAGES/ld.mo
installing ../../../binutils-2.41/ld/po/pt_BR.gmo as /usr/local/arm/share/locale/pt_BR/LC_MESSAGES/ld.mo
installing ../../../binutils-2.41/ld/po/ru.gmo as /usr/local/arm/share/locale/ru/LC_MESSAGES/ld.mo
installing ../../../binutils-2.41/ld/po/sr.gmo as /usr/local/arm/share/locale/sr/LC_MESSAGES/ld.mo
installing ../../../binutils-2.41/ld/po/sv.gmo as /usr/local/arm/share/locale/sv/LC_MESSAGES/ld.mo
installing ../../../binutils-2.41/ld/po/tr.gmo as /usr/local/arm/share/locale/tr/LC_MESSAGES/ld.mo
installing ../../../binutils-2.41/ld/po/uk.gmo as /usr/local/arm/share/locale/uk/LC_MESSAGES/ld.mo
installing ../../../binutils-2.41/ld/po/vi.gmo as /usr/local/arm/share/locale/vi/LC_MESSAGES/ld.mo
installing ../../../binutils-2.41/ld/po/zh_CN.gmo as /usr/local/arm/share/locale/zh_CN/LC_MESSAGES/ld.mo
installing ../../../binutils-2.41/ld/po/zh_TW.gmo as /usr/local/arm/share/locale/zh_TW/LC_MESSAGES/ld.mo
installing ../../../binutils-2.41/ld/po/bg.gmo as /usr/local/arm/share/locale/bg/LC_MESSAGES/ld.mo
installing ../../../binutils-2.41/ld/po/da.gmo as /usr/local/arm/share/locale/da/LC_MESSAGES/ld.mo
installing ../../../binutils-2.41/ld/po/de.gmo as /usr/local/arm/share/locale/de/LC_MESSAGES/ld.mo
installing ../../../binutils-2.41/ld/po/es.gmo as /usr/local/arm/share/locale/es/LC_MESSAGES/ld.mo
installing ../../../binutils-2.41/ld/po/fi.gmo as /usr/local/arm/share/locale/fi/LC_MESSAGES/ld.mo
installing ../../../binutils-2.41/ld/po/fr.gmo as /usr/local/arm/share/locale/fr/LC_MESSAGES/ld.mo
installing ../../../binutils-2.41/ld/po/ga.gmo as /usr/local/arm/share/locale/ga/LC_MESSAGES/ld.mo
installing ../../../binutils-2.41/ld/po/id.gmo as /usr/local/arm/share/locale/id/LC_MESSAGES/ld.mo
installing ../../../binutils-2.41/ld/po/it.gmo as /usr/local/arm/share/locale/it/LC_MESSAGES/ld.mo
installing ../../../binutils-2.41/ld/po/ja.gmo as /usr/local/arm/share/locale/ja/LC_MESSAGES/ld.mo
installing ../../../binutils-2.41/ld/po/pt_BR.gmo as /usr/local/arm/share/locale/pt_BR/LC_MESSAGES/ld.mo
installing ../../../binutils-2.41/ld/po/ru.gmo as /usr/local/arm/share/locale/ru/LC_MESSAGES/ld.mo
installing ../../../binutils-2.41/ld/po/sr.gmo as /usr/local/arm/share/locale/sr/LC_MESSAGES/ld.mo
installing ../../../binutils-2.41/ld/po/sv.gmo as /usr/local/arm/share/locale/sv/LC_MESSAGES/ld.mo
installing ../../../binutils-2.41/ld/po/tr.gmo as /usr/local/arm/share/locale/tr/LC_MESSAGES/ld.mo
installing ../../../binutils-2.41/ld/po/uk.gmo as /usr/local/arm/share/locale/uk/LC_MESSAGES/ld.mo
installing ../../../binutils-2.41/ld/po/vi.gmo as /usr/local/arm/share/locale/vi/LC_MESSAGES/ld.mo
installing ../../../binutils-2.41/ld/po/zh_CN.gmo as /usr/local/arm/share/locale/zh_CN/LC_MESSAGES/ld.mo
installing ../../../binutils-2.41/ld/po/zh_TW.gmo as /usr/local/arm/share/locale/zh_TW/LC_MESSAGES/ld.mo
if test "ld" = "gettext"; then \
  if test -r ../../../binutils-2.41/ld/../mkinstalldirs; then \
    ../../../binutils-2.41/ld/../mkinstalldirs /usr/local/arm/share/gettext/po; \
  else \
    ../../../binutils-2.41/ld/mkinstalldirs /usr/local/arm/share/gettext/po; \
  fi; \
  /usr/bin/install -c -m 644 ../../../binutils-2.41/ld/po/Makefile.in.in \
                  /usr/local/arm/share/gettext/po/Makefile.in.in; \
else \
  : ; \
fi
make[4]: 离开目录“/home/penghao/cross-compiler/build-tools/build-binuitls/ld/po”
make[4]: 进入目录“/home/penghao/cross-compiler/build-tools/build-binuitls/ld”
make[5]: 进入目录“/home/penghao/cross-compiler/build-tools/build-binuitls/ld”
 /usr/bin/mkdir -p '/usr/local/arm/bin'
  /bin/sh ./libtool   --mode=install /usr/bin/install -c ld-new '/usr/local/arm/bin/./arm-linux-ld.bfd'
libtool: install: /usr/bin/install -c ld-new /usr/local/arm/bin/./arm-linux-ld.bfd
/bin/sh ../../binutils-2.41/ld/../mkinstalldirs /usr/local/arm/arm-linux/bin
n=`echo ld.bfd | sed 's/^ld-new$/ld.bfd/;s&^&arm-linux-&'`; \
if test "/usr/local/arm/bin" != "/usr/local/arm/arm-linux/bin"; then \
  rm -f /usr/local/arm/arm-linux/bin/ld.bfd; \
  ln /usr/local/arm/bin/$n /usr/local/arm/arm-linux/bin/ld.bfd >/dev/null 2>/dev/null \
  ||  /bin/sh ./libtool --mode=install /usr/bin/install -c ld-new /usr/local/arm/arm-linux/bin/ld.bfd; \
fi; \
if test "xyes" = "xyes"; then \
  ld=`echo ld | sed 's/^ld-new$/ld.bfd/;s&^&arm-linux-&'`; \
  rm -f /usr/local/arm/bin/$ld; \
  ln /usr/local/arm/bin/$n /usr/local/arm/bin/$ld >/dev/null 2>/dev/null \
  ||  /bin/sh ./libtool --mode=install /usr/bin/install -c ld-new /usr/local/arm/bin/$ld; \
  if test "/usr/local/arm/bin" != "/usr/local/arm/arm-linux/bin"; then \
    rm -f /usr/local/arm/arm-linux/bin/ld; \
    ln /usr/local/arm/bin/$n /usr/local/arm/arm-linux/bin/ld >/dev/null 2>/dev/null \
    ||  /bin/sh ./libtool --mode=install /usr/bin/install -c ld-new /usr/local/arm/arm-linux/bin/ld; \
  fi; \
fi
 /usr/bin/mkdir -p '/usr/local/arm/lib/bfd-plugins'
 /bin/sh ./libtool   --mode=install /usr/bin/install -c   libdep.la '/usr/local/arm/lib/bfd-plugins'
libtool: install: /usr/bin/install -c .libs/libdep.so /usr/local/arm/lib/bfd-plugins/libdep.so
libtool: install: /usr/bin/install -c .libs/libdep.lai /usr/local/arm/lib/bfd-plugins/libdep.la
libtool: install: warning: remember to run `libtool --finish /nowhere'
/bin/sh ../../binutils-2.41/ld/../mkinstalldirs /usr/local/arm/arm-linux/lib/ldscripts
mkdir -p -- /usr/local/arm/arm-linux/lib/ldscripts
for f in ldscripts/* ; do \
  /usr/bin/install -c -m 644 $f /usr/local/arm/arm-linux/lib/$f ; \
done
rm -f /usr/local/arm/lib/bfd-plugins/libdep.la
rm -f /usr/local/arm/lib/bfd-plugins/libdep.dll.a
 /usr/bin/mkdir -p '/usr/local/arm/share/info'
 /usr/bin/install -c -m 644 ../../binutils-2.41/ld/ld.info ../../binutils-2.41/ld/ldint.info '/usr/local/arm/share/info'
 install-info --info-dir='/usr/local/arm/share/info' '/usr/local/arm/share/info/ld.info'
 install-info --info-dir='/usr/local/arm/share/info' '/usr/local/arm/share/info/ldint.info'
 /usr/bin/mkdir -p '/usr/local/arm/share/man/man1'
 /usr/bin/install -c -m 644 '../../binutils-2.41/ld/ld.1' '/usr/local/arm/share/man/man1/arm-linux-ld.1'
make[5]: 离开目录“/home/penghao/cross-compiler/build-tools/build-binuitls/ld”
make[4]: 离开目录“/home/penghao/cross-compiler/build-tools/build-binuitls/ld”
make[3]: 离开目录“/home/penghao/cross-compiler/build-tools/build-binuitls/ld”
make[2]: 离开目录“/home/penghao/cross-compiler/build-tools/build-binuitls/ld”
make[2]: 进入目录“/home/penghao/cross-compiler/build-tools/build-binuitls/libiberty”
make[3]: 进入目录“/home/penghao/cross-compiler/build-tools/build-binuitls/libiberty/testsuite”
make[3]: 对“all”无需做任何事。make[3]: 离开目录“/home/penghao/cross-compiler/build-tools/build-binuitls/libiberty/testsuite”
if test -n ""; then \
        /bin/sh ../../binutils-2.41/libiberty/../mkinstalldirs /usr/local/arm/lib/`gcc -g -O2     -print-multi-os-directory`; \
        /usr/bin/install -c -m 644 ./libiberty.a /usr/local/arm/lib/`gcc -g -O2     -print-multi-os-directory`/./libiberty.an; \
        ( cd /usr/local/arm/lib/`gcc -g -O2     -print-multi-os-directory` ; chmod 644 ./libiberty.an ;ranlib --plugin /usr/libexec/gcc/x86_64-pc-linux-gnu/12.1.0/liblto_plugin.so ./libiberty.an ); \
        mv -f /usr/local/arm/lib/`gcc -g -O2     -print-multi-os-directory`/./libiberty.an /usr/local/arm/lib/`gcc -g -O2     -print-multi-os-directory`/./libiberty.a; \
        case "" in \
          /*)    thd=;; \
          *)     thd=/usr/local/arm/include/;; \
        esac; \
        /bin/sh ../../binutils-2.41/libiberty/../mkinstalldirs ${thd}; \
        for h in ../../binutils-2.41/libiberty/../include/ansidecl.h ../../binutils-2.41/libiberty/../include/demangle.h ../../binutils-2.41/libiberty/../include/dyn-string.h ../../binutils-2.41/libiberty/../include/fibheap.h ../../binutils-2.41/libiberty/../include/floatformat.h ../../binutils-2.41/libiberty/../include/hashtab.h ../../binutils-2.41/libiberty/../include/libiberty.h ../../binutils-2.41/libiberty/../include/objalloc.h ../../binutils-2.41/libiberty/../include/partition.h ../../binutils-2.41/libiberty/../include/safe-ctype.h ../../binutils-2.41/libiberty/../include/sort.h ../../binutils-2.41/libiberty/../include/splay-tree.h ../../binutils-2.41/libiberty/../include/timeval-utils.h; do \
          /usr/bin/install -c -m 644 $h ${thd}; \
        done; \
fi
make[3]: 进入目录“/home/penghao/cross-compiler/build-tools/build-binuitls/libiberty/testsuite”
make[3]: 对“install”无需做任何事。make[3]: 离开目录“/home/penghao/cross-compiler/build-tools/build-binuitls/libiberty/testsuite”
make[2]: 离开目录“/home/penghao/cross-compiler/build-tools/build-binuitls/libiberty”
make[1]: 对“install-target”无需做任何事。make[1]: 离开目录“/home/penghao/cross-compiler/build-tools/build-binuitls”

(7) 生成されたターゲットを確認する

binutils によって生成されたターゲットをインストールした後、/usr/local/arm/ ディレクトリ (configure 時に --prefix=/usr/local/arm として指定) に生成されたターゲットを確認します。次のように:

$ ls /usr/local/arm/
arm-linux  bin  lib  share

$ ls /usr/local/arm/bin/
arm-linux-addr2line  arm-linux-as       arm-linux-elfedit  arm-linux-ld      arm-linux-nm       arm-linux-objdump  arm-linux-readelf  arm-linux-strings
arm-linux-ar         arm-linux-c++filt  arm-linux-gprof    arm-linux-ld.bfd  arm-linux-objcopy  arm-linux-ranlib   arm-linux-size     arm-linux-strip

$ ls /usr/local/arm/lib/
bfd-plugins

$ ls /usr/local/arm/share
info  locale  man
$ tree /usr/local/arm/bin
/usr/local/arm/bin
├── arm-linux-addr2line
├── arm-linux-ar
├── arm-linux-as
├── arm-linux-c++filt
├── arm-linux-elfedit
├── arm-linux-gprof
├── arm-linux-ld
├── arm-linux-ld.bfd
├── arm-linux-nm
├── arm-linux-objcopy
├── arm-linux-objdump
├── arm-linux-ranlib
├── arm-linux-readelf
├── arm-linux-size
├── arm-linux-strings
└── arm-linux-strip

0 directories, 16 files
$ tree /usr/local/arm/lib
/usr/local/arm/lib
└── bfd-plugins
    └── libdep.so

1 directory, 1 file
$ tree /usr/local/arm/share/
/usr/local/arm/share/
├── info
│   ├── as.info
│   ├── bfd.info
│   ├── binutils.info
│   ├── ctf-spec.info
│   ├── dir
│   ├── gprof.info
│   ├── ld.info
│   ├── ldint.info
│   └── sframe-spec.info
├── locale
│   ├── bg
│   │   └── LC_MESSAGES
│   │       ├── binutils.mo
│   │       ├── gprof.mo
│   │       └── ld.mo
│   ├── ca
│   │   └── LC_MESSAGES
│   │       └── binutils.mo
│   ├── da
│   │   └── LC_MESSAGES
│   │       ├── bfd.mo
│   │       ├── binutils.mo
│   │       ├── gprof.mo
│   │       ├── ld.mo
│   │       └── opcodes.mo
│   ├── de
│   │   └── LC_MESSAGES
│   │       ├── gprof.mo
│   │       ├── ld.mo
│   │       └── opcodes.mo
│   ├── eo
│   │   └── LC_MESSAGES
│   │       └── gprof.mo
│   ├── es
│   │   └── LC_MESSAGES
│   │       ├── bfd.mo
│   │       ├── binutils.mo
│   │       ├── gas.mo
│   │       ├── gprof.mo
│   │       ├── ld.mo
│   │       └── opcodes.mo
│   ├── fi
│   │   └── LC_MESSAGES
│   │       ├── bfd.mo
│   │       ├── binutils.mo
│   │       ├── gas.mo
│   │       ├── gprof.mo
│   │       ├── ld.mo
│   │       └── opcodes.mo
│   ├── fr
│   │   └── LC_MESSAGES
│   │       ├── bfd.mo
│   │       ├── binutils.mo
│   │       ├── gas.mo
│   │       ├── gprof.mo
│   │       ├── ld.mo
│   │       └── opcodes.mo
│   ├── ga
│   │   └── LC_MESSAGES
│   │       ├── gprof.mo
│   │       ├── ld.mo
│   │       └── opcodes.mo
│   ├── hr
│   │   └── LC_MESSAGES
│   │       ├── bfd.mo
│   │       └── binutils.mo
│   ├── hu
│   │   └── LC_MESSAGES
│   │       └── gprof.mo
│   ├── id
│   │   └── LC_MESSAGES
│   │       ├── bfd.mo
│   │       ├── binutils.mo
│   │       ├── gas.mo
│   │       ├── gprof.mo
│   │       ├── ld.mo
│   │       └── opcodes.mo
│   ├── it
│   │   └── LC_MESSAGES
│   │       ├── binutils.mo
│   │       ├── gprof.mo
│   │       ├── ld.mo
│   │       └── opcodes.mo
│   ├── ja
│   │   └── LC_MESSAGES
│   │       ├── bfd.mo
│   │       ├── binutils.mo
│   │       ├── gas.mo
│   │       ├── gprof.mo
│   │       └── ld.mo
│   ├── ka
│   │   └── LC_MESSAGES
│   │       ├── bfd.mo
│   │       └── gprof.mo
│   ├── ms
│   │   └── LC_MESSAGES
│   │       └── gprof.mo
│   ├── nl
│   │   └── LC_MESSAGES
│   │       ├── gprof.mo
│   │       └── opcodes.mo
│   ├── pt
│   │   └── LC_MESSAGES
│   │       ├── bfd.mo
│   │       └── binutils.mo
│   ├── pt_BR
│   │   └── LC_MESSAGES
│   │       ├── gprof.mo
│   │       ├── ld.mo
│   │       └── opcodes.mo
│   ├── ro
│   │   └── LC_MESSAGES
│   │       ├── bfd.mo
│   │       ├── binutils.mo
│   │       ├── gprof.mo
│   │       └── opcodes.mo
│   ├── ru
│   │   └── LC_MESSAGES
│   │       ├── bfd.mo
│   │       ├── binutils.mo
│   │       ├── gas.mo
│   │       ├── gprof.mo
│   │       └── ld.mo
│   ├── rw
│   │   └── LC_MESSAGES
│   │       ├── bfd.mo
│   │       ├── binutils.mo
│   │       ├── gas.mo
│   │       └── gprof.mo
│   ├── sk
│   │   └── LC_MESSAGES
│   │       └── binutils.mo
│   ├── sr
│   │   └── LC_MESSAGES
│   │       ├── bfd.mo
│   │       ├── binutils.mo
│   │       ├── gprof.mo
│   │       ├── ld.mo
│   │       └── opcodes.mo
│   ├── sv
│   │   └── LC_MESSAGES
│   │       ├── bfd.mo
│   │       ├── binutils.mo
│   │       ├── gas.mo
│   │       ├── gprof.mo
│   │       ├── ld.mo
│   │       └── opcodes.mo
│   ├── tr
│   │   └── LC_MESSAGES
│   │       ├── bfd.mo
│   │       ├── binutils.mo
│   │       ├── gas.mo
│   │       ├── gprof.mo
│   │       ├── ld.mo
│   │       └── opcodes.mo
│   ├── uk
│   │   └── LC_MESSAGES
│   │       ├── bfd.mo
│   │       ├── binutils.mo
│   │       ├── gas.mo
│   │       ├── gprof.mo
│   │       ├── ld.mo
│   │       └── opcodes.mo
│   ├── vi
│   │   └── LC_MESSAGES
│   │       ├── bfd.mo
│   │       ├── binutils.mo
│   │       ├── gprof.mo
│   │       ├── ld.mo
│   │       └── opcodes.mo
│   ├── zh_CN
│   │   └── LC_MESSAGES
│   │       ├── bfd.mo
│   │       ├── binutils.mo
│   │       ├── gas.mo
│   │       ├── ld.mo
│   │       └── opcodes.mo
│   └── zh_TW
│       └── LC_MESSAGES
│           ├── binutils.mo
│           └── ld.mo
└── man
    └── man1
        ├── arm-linux-addr2line.1
        ├── arm-linux-ar.1
        ├── arm-linux-as.1
        ├── arm-linux-c++filt.1
        ├── arm-linux-dlltool.1
        ├── arm-linux-elfedit.1
        ├── arm-linux-gprof.1
        ├── arm-linux-ld.1
        ├── arm-linux-nm.1
        ├── arm-linux-objcopy.1
        ├── arm-linux-objdump.1
        ├── arm-linux-ranlib.1
        ├── arm-linux-readelf.1
        ├── arm-linux-size.1
        ├── arm-linux-strings.1
        ├── arm-linux-strip.1
        ├── arm-linux-windmc.1
        └── arm-linux-windres.1

64 directories, 138 files

この時点で、binutils がビルドされます。次回はブートストラップ コンパイラをビルドします。

おすすめ

転載: blog.csdn.net/phmatthaus/article/details/132356854