3.1.2. 用ct-ng list-steps查看本身的build过程分成哪几步

如上所述,用list-steps,可以查看到,当前,用crosstool-ng去build,去制作交叉编译器,具体分成哪些步骤:


CLi@PC-CLI-1 ~/develop/crosstool-ng/crosstool-ng-1.18.0_build
$ ct-ng list-steps
Available build steps, in order:
  - libc_check_config
  - companion_libs_for_build
  - binutils_for_build
  - companion_libs_for_host
  - binutils_for_host
  - cc_core_pass_1
  - kernel_headers
  - libc_start_files
  - cc_core_pass_2
  - libc
  - cc_for_build
  - cc_for_host
  - libelf_for_target
  - binutils_for_target
  - debug
  - test_suite
  - finish
Use "<step>" as action to execute only that step.
Use "+<step>" as action to execute up to that step.
Use "<step>+" as action to execute from that step onward.

        

知道了,此处分了多少步骤,具体有哪些步骤之后

后面才有可能去实现,从之前出错的哪一步,恢复,继续编译。