Linux上构筑iPhone OS3.1.2开发环境之build

鉴客 发布于 2011/11/23 17:51
阅读 1K+
收藏 0

【Gopher China万字分享】华为云的Go语言云原生实战经验!>>>

原文地址 http://blog.csdn.net/lmss82/archive/2010/02/08/5299949.aspx

昨天郁闷了一天,因为不管我如何编译,总是有错误产生。

没想到今天我清理掉所有文件,重新操作了一编,居然神奇般编译成功了。挖哈哈。。。太高兴了,终于离编译可运行在IPHONE

机器上的HELLO world 不远了,太激动了。。


总结一下:我昨天安装了管方列出的所有包,还有就是不放弃,多试几次。

Here we provide a list of packages for Debian/Ubuntu

apt-get install /
  automake /
  bison /
  cpio /
  flex /
  g++ /
  g++-4.3 /
  g++-4.3-multilib /
  gawk /
  gcc-4.3 /
  git-core /
  gobjc-4.3 /
  gzip /
  libbz2-dev /
  libcurl4-openssl-dev /
  libssl-dev  /
  make /
  mount /
  subversion /
  sudo /
  tar /
  unzip /
  uuid /
  uuid-dev /
  wget /
  xar /
  zlib1g-dev /

If you are on 64 bit please install:

apt-get install g++-4.3-multilib gcc-4.3-multilib gobjc-4.3-multilib

下面是编译完后的结果:

warf-strip/hello.c
A    /home/zhaowei/toolchain/toolchain/src/cctools/ld64/unit-tests/test-cases/relocs-objc
A    /home/zhaowei/toolchain/toolchain/src/cctools/ld64/unit-tests/test-cases/relocs-objc/test.m
A    /home/zhaowei/toolchain/toolchain/src/cctools/ld64/unit-tests/test-cases/zero-fill
A    /home/zhaowei/toolchain/toolchain/src/cctools/ld64/unit-tests/test-cases/zero-fill/test.c
A    /home/zhaowei/toolchain/toolchain/src/cctools/ld64/unit-tests/test-cases/relocs-asm
A    /home/zhaowei/toolchain/toolchain/src/cctools/ld64/unit-tests/test-cases/relocs-asm/relocs-asm.s
A    /home/zhaowei/toolchain/toolchain/src/cctools/ld64/unit-tests/test-cases/literals-coalesce-alignment
A    /home/zhaowei/toolchain/toolchain/src/cctools/ld64/unit-tests/test-cases/literals-coalesce-alignment/cstring-align-0.s
A    /home/zhaowei/toolchain/toolchain/src/cctools/ld64/unit-tests/test-cases/literals-coalesce-alignment/cstring-align-3.s
A    /home/zhaowei/toolchain/toolchain/src/cctools/ld64/unit-tests/test-cases/late-link-error
A    /home/zhaowei/toolchain/toolchain/src/cctools/ld64/unit-tests/test-cases/late-link-error/link_error.s
A    /home/zhaowei/toolchain/toolchain/src/cctools/ld64/unit-tests/test-cases/relocs-c
A    /home/zhaowei/toolchain/toolchain/src/cctools/ld64/unit-tests/test-cases/relocs-c/test.c
A    /home/zhaowei/toolchain/toolchain/src/cctools/ld64/unit-tests/test-cases/no-uuid
A    /home/zhaowei/toolchain/toolchain/src/cctools/ld64/unit-tests/test-cases/no-uuid/foo.c
A    /home/zhaowei/toolchain/toolchain/src/cctools/ld64/unit-tests/test-cases/no-uuid/bar.c
A    /home/zhaowei/toolchain/toolchain/src/cctools/ld64/unit-tests/test-cases/rebase-basic
A    /home/zhaowei/toolchain/toolchain/src/cctools/ld64/unit-tests/test-cases/rebase-basic/bar.m
A    /home/zhaowei/toolchain/toolchain/src/cctools/ld64/unit-tests/test-cases/rebase-basic/foo.c
A    /home/zhaowei/toolchain/toolchain/src/cctools/ld64/unit-tests/test-cases/allow-stack-execute
A    /home/zhaowei/toolchain/toolchain/src/cctools/ld64/unit-tests/test-cases/allow-stack-execute/foo.c
A    /home/zhaowei/toolchain/toolchain/src/cctools/ld64/unit-tests/test-cases/stabs-coalesce
A    /home/zhaowei/toolchain/toolchain/src/cctools/ld64/unit-tests/test-cases/stabs-coalesce/other.cxx
A    /home/zhaowei/toolchain/toolchain/src/cctools/ld64/unit-tests/test-cases/stabs-coalesce/hello.cxx
A    /home/zhaowei/toolchain/toolchain/src/cctools/ld64/unit-tests/test-cases/stabs-coalesce/header.h
A    /home/zhaowei/toolchain/toolchain/src/cctools/ld64/unit-tests/test-cases/objc-references
A    /home/zhaowei/toolchain/toolchain/src/cctools/ld64/unit-tests/test-cases/objc-references/test.m
A    /home/zhaowei/toolchain/toolchain/src/cctools/ld64/unit-tests/test-cases/archive-basic
A    /home/zhaowei/toolchain/toolchain/src/cctools/ld64/unit-tests/test-cases/archive-basic/foo.c
A    /home/zhaowei/toolchain/toolchain/src/cctools/ld64/unit-tests/test-cases/archive-basic/main.c
A    /home/zhaowei/toolchain/toolchain/src/cctools/ld64/unit-tests/test-cases/archive-basic/bar.c
A    /home/zhaowei/toolchain/toolchain/src/cctools/ld64/unit-tests/test-cases/multiple-entry-points
A    /home/zhaowei/toolchain/toolchain/src/cctools/ld64/unit-tests/test-cases/multiple-entry-points/test.s
A    /home/zhaowei/toolchain/toolchain/src/cctools/ld64/unit-tests/test-cases/relocs-literals
A    /home/zhaowei/toolchain/toolchain/src/cctools/ld64/unit-tests/test-cases/relocs-literals/test.c
A    /home/zhaowei/toolchain/toolchain/src/cctools/ld64/unit-tests/test-cases/tentative-to-real
A    /home/zhaowei/toolchain/toolchain/src/cctools/ld64/unit-tests/test-cases/tentative-to-real/test.c
A    /home/zhaowei/toolchain/toolchain/src/cctools/ld64/unit-tests/test-cases/archive-weak
A    /home/zhaowei/toolchain/toolchain/src/cctools/ld64/unit-tests/test-cases/archive-weak/foo.c
A    /home/zhaowei/toolchain/toolchain/src/cctools/ld64/unit-tests/test-cases/archive-weak/bar.c
A    /home/zhaowei/toolchain/toolchain/src/cctools/ld64/unit-tests/test-cases/archive-weak/main.c
A    /home/zhaowei/toolchain/toolchain/src/cctools/ld64/unit-tests/test-cases/archive-weak/baz.c
A    /home/zhaowei/toolchain/toolchain/src/cctools/ld64/unit-tests/test-cases/static-executable
A    /home/zhaowei/toolchain/toolchain/src/cctools/ld64/unit-tests/test-cases/static-executable/test.c
A    /home/zhaowei/toolchain/toolchain/src/cctools/ld64/unit-tests/test-cases/filelist
A    /home/zhaowei/toolchain/toolchain/src/cctools/ld64/unit-tests/test-cases/filelist/hello.c
A    /home/zhaowei/toolchain/toolchain/src/cctools/ld64/unit-tests/test-cases/dwarf-debug-notes-r
A    /home/zhaowei/toolchain/toolchain/src/cctools/ld64/unit-tests/test-cases/dwarf-debug-notes-r/foo.cxx
A    /home/zhaowei/toolchain/toolchain/src/cctools/ld64/unit-tests/test-cases/dwarf-debug-notes-r/main.cxx
A    /home/zhaowei/toolchain/toolchain/src/cctools/ld64/unit-tests/test-cases/dwarf-debug-notes-r/bar.cxx
A    /home/zhaowei/toolchain/toolchain/src/cctools/ld64/unit-tests/test-cases/dwarf-debug-notes-r/stabs-filter.pl
A    /home/zhaowei/toolchain/toolchain/src/cctools/ld64/unit-tests/test-cases/dwarf-debug-notes-r/expected-stabs
A    /home/zhaowei/toolchain/toolchain/src/cctools/ld64/unit-tests/test-cases/dwarf-debug-notes
A    /home/zhaowei/toolchain/toolchain/src/cctools/ld64/unit-tests/test-cases/dwarf-debug-notes/other.cxx
A    /home/zhaowei/toolchain/toolchain/src/cctools/ld64/unit-tests/test-cases/dwarf-debug-notes/hello.cxx
A    /home/zhaowei/toolchain/toolchain/src/cctools/ld64/unit-tests/test-cases/dwarf-debug-notes/stabs-filter.pl
A    /home/zhaowei/toolchain/toolchain/src/cctools/ld64/unit-tests/test-cases/dwarf-debug-notes/expected-stabs
A    /home/zhaowei/toolchain/toolchain/src/cctools/ld64/unit-tests/test-cases/dwarf-debug-notes/header.h
A    /home/zhaowei/toolchain/toolchain/src/cctools/ld64/unit-tests/test-cases/allowable-client
A    /home/zhaowei/toolchain/toolchain/src/cctools/ld64/unit-tests/test-cases/allowable-client/foo.c
A    /home/zhaowei/toolchain/toolchain/src/cctools/ld64/unit-tests/test-cases/allowable-client/main.c
A    /home/zhaowei/toolchain/toolchain/src/cctools/ld64/unit-tests/test-cases/allowable-client/bar.c
A    /home/zhaowei/toolchain/toolchain/src/cctools/ld64/unit-tests/test-cases/allowable-client/baz.c
A    /home/zhaowei/toolchain/toolchain/src/cctools/ld64/unit-tests/test-cases/dead_strip
A    /home/zhaowei/toolchain/toolchain/src/cctools/ld64/unit-tests/test-cases/dead_strip/main.exp
A    /home/zhaowei/toolchain/toolchain/src/cctools/ld64/unit-tests/test-cases/dead_strip/main.c
A    /home/zhaowei/toolchain/toolchain/src/cctools/ld64/unit-tests/test-cases/dead_strip/deadwood.c
A    /home/zhaowei/toolchain/toolchain/src/cctools/ld64/unit-tests/README
A    /home/zhaowei/toolchain/toolchain/src/cctools/ld64/Makefile.in
A    /home/zhaowei/toolchain/toolchain/src/cctools/ld64/APPLE_LICENSE
A    /home/zhaowei/toolchain/toolchain/src/cctools/ld64/doc
A    /home/zhaowei/toolchain/toolchain/src/cctools/ld64/doc/man
A    /home/zhaowei/toolchain/toolchain/src/cctools/ld64/doc/man/man1
A    /home/zhaowei/toolchain/toolchain/src/cctools/ld64/doc/man/man1/rebase.1
A    /home/zhaowei/toolchain/toolchain/src/cctools/ld64/doc/man/man1/ld64.1
A    /home/zhaowei/toolchain/toolchain/src/cctools/ld64/ld64.xcodeproj
A    /home/zhaowei/toolchain/toolchain/src/cctools/ld64/ld64.xcodeproj/project.pbxproj
A    /home/zhaowei/toolchain/toolchain/src/cctools/ld64/src
A    /home/zhaowei/toolchain/toolchain/src/cctools/ld64/src/debugline.c
A    /home/zhaowei/toolchain/toolchain/src/cctools/ld64/src/ld.cpp
A    /home/zhaowei/toolchain/toolchain/src/cctools/ld64/src/Options.h
A    /home/zhaowei/toolchain/toolchain/src/cctools/ld64/src/strlcpy.c
A    /home/zhaowei/toolchain/toolchain/src/cctools/ld64/src/rebase.cpp
A    /home/zhaowei/toolchain/toolchain/src/cctools/ld64/src/MachOReaderDylib.hpp
A    /home/zhaowei/toolchain/toolchain/src/cctools/ld64/src/debugline.h
A    /home/zhaowei/toolchain/toolchain/src/cctools/ld64/src/strlcpy.h
A    /home/zhaowei/toolchain/toolchain/src/cctools/ld64/src/ArchiveReader.hpp
A    /home/zhaowei/toolchain/toolchain/src/cctools/ld64/src/Architectures.hpp
A    /home/zhaowei/toolchain/toolchain/src/cctools/ld64/src/ObjectFile.h
A    /home/zhaowei/toolchain/toolchain/src/cctools/ld64/src/machochecker.cpp
A    /home/zhaowei/toolchain/toolchain/src/cctools/ld64/src/MachOReaderRelocatable.hpp
A    /home/zhaowei/toolchain/toolchain/src/cctools/ld64/src/FileAbstraction.hpp
A    /home/zhaowei/toolchain/toolchain/src/cctools/ld64/src/OpaqueSection.hpp
A    /home/zhaowei/toolchain/toolchain/src/cctools/ld64/src/ExecutableFile.h
A    /home/zhaowei/toolchain/toolchain/src/cctools/ld64/src/MachOFileAbstraction.hpp
A    /home/zhaowei/toolchain/toolchain/src/cctools/ld64/src/LTOReader.hpp
A    /home/zhaowei/toolchain/toolchain/src/cctools/ld64/src/SectCreate.h
A    /home/zhaowei/toolchain/toolchain/src/cctools/ld64/src/dwarf2.h
A    /home/zhaowei/toolchain/toolchain/src/cctools/ld64/src/Options.cpp
A    /home/zhaowei/toolchain/toolchain/src/cctools/ld64/src/MachOWriterExecutable.hpp
A    /home/zhaowei/toolchain/toolchain/src/cctools/ld64/src/ObjectDump.cpp
A    /home/zhaowei/toolchain/toolchain/src/cctools/ld64/ChangeLog
A    /home/zhaowei/toolchain/toolchain/src/cctools/missing
A    /home/zhaowei/toolchain/toolchain/src/cctools/man
A    /home/zhaowei/toolchain/toolchain/src/cctools/man/Makefile.in
A    /home/zhaowei/toolchain/toolchain/src/cctools/man/getsectdatafromheader.3
A    /home/zhaowei/toolchain/toolchain/src/cctools/man/NSModule.3
A    /home/zhaowei/toolchain/toolchain/src/cctools/man/getsectbynamefromheader.3
A    /home/zhaowei/toolchain/toolchain/src/cctools/man/mkshlib.1
A    /home/zhaowei/toolchain/toolchain/src/cctools/man/checksyms.1
A    /home/zhaowei/toolchain/toolchain/src/cctools/man/redo_prebinding.1
A    /home/zhaowei/toolchain/toolchain/src/cctools/man/dylibprof.1
A    /home/zhaowei/toolchain/toolchain/src/cctools/man/getsectdata.3
A    /home/zhaowei/toolchain/toolchain/src/cctools/man/dyld.1
A    /home/zhaowei/toolchain/toolchain/src/cctools/man/redo_prebinding.3
A    /home/zhaowei/toolchain/toolchain/src/cctools/man/getsectbyname.3
A    /home/zhaowei/toolchain/toolchain/src/cctools/man/stab.5
A    /home/zhaowei/toolchain/toolchain/src/cctools/man/dyld.3
A    /home/zhaowei/toolchain/toolchain/src/cctools/man/check_dylib.1
A    /home/zhaowei/toolchain/toolchain/src/cctools/man/atom.1
A    /home/zhaowei/toolchain/toolchain/src/cctools/man/ar.1
A    /home/zhaowei/toolchain/toolchain/src/cctools/man/lipo.1
A    /home/zhaowei/toolchain/toolchain/src/cctools/man/cmpdylib.1
A    /home/zhaowei/toolchain/toolchain/src/cctools/man/as.1
A    /home/zhaowei/toolchain/toolchain/src/cctools/man/dyld_debug.3
A    /home/zhaowei/toolchain/toolchain/src/cctools/man/libtool.1
A    /home/zhaowei/toolchain/toolchain/src/cctools/man/otool64.1
A    /home/zhaowei/toolchain/toolchain/src/cctools/man/end.3
A    /home/zhaowei/toolchain/toolchain/src/cctools/man/ld64.1
A    /home/zhaowei/toolchain/toolchain/src/cctools/man/kld.3
A    /home/zhaowei/toolchain/toolchain/src/cctools/man/NSObjectFileImage_priv.3
A    /home/zhaowei/toolchain/toolchain/src/cctools/man/gprof.1
A    /home/zhaowei/toolchain/toolchain/src/cctools/man/libsyminfo.3
A    /home/zhaowei/toolchain/toolchain/src/cctools/man/seg_addr_table.1
A    /home/zhaowei/toolchain/toolchain/src/cctools/man/nmedit.1
A    /home/zhaowei/toolchain/toolchain/src/cctools/man/segedit.1
A    /home/zhaowei/toolchain/toolchain/src/cctools/man/pagestuff.1
A    /home/zhaowei/toolchain/toolchain/src/cctools/man/notes
A    /home/zhaowei/toolchain/toolchain/src/cctools/man/strings.1
A    /home/zhaowei/toolchain/toolchain/src/cctools/man/a.out.5
A    /home/zhaowei/toolchain/toolchain/src/cctools/man/indr.1
A    /home/zhaowei/toolchain/toolchain/src/cctools/man/otool.1
A    /home/zhaowei/toolchain/toolchain/src/cctools/man/ld.1
A    /home/zhaowei/toolchain/toolchain/src/cctools/man/codesign_allocate.1
A    /home/zhaowei/toolchain/toolchain/src/cctools/man/strip.1
A    /home/zhaowei/toolchain/toolchain/src/cctools/man/cmpshlib.1
A    /home/zhaowei/toolchain/toolchain/src/cctools/man/rebase.1
A    /home/zhaowei/toolchain/toolchain/src/cctools/man/install_name_tool.1
A    /home/zhaowei/toolchain/toolchain/src/cctools/man/ranlib.1
A    /home/zhaowei/toolchain/toolchain/src/cctools/man/get_end.3
A    /home/zhaowei/toolchain/toolchain/src/cctools/man/Mach-O.5
A    /home/zhaowei/toolchain/toolchain/src/cctools/man/nm.1
A    /home/zhaowei/toolchain/toolchain/src/cctools/man/size.1
A    /home/zhaowei/toolchain/toolchain/src/cctools/man/ranlib.5
A    /home/zhaowei/toolchain/toolchain/src/cctools/man/NSObjectFileImage.3
A    /home/zhaowei/toolchain/toolchain/src/cctools/man/getsegbyname.3
A    /home/zhaowei/toolchain/toolchain/src/cctools/man/arch.3
A    /home/zhaowei/toolchain/toolchain/src/cctools/man/file.1
A    /home/zhaowei/toolchain/toolchain/src/cctools/valwrap
A    /home/zhaowei/toolchain/toolchain/src/cctools/valwrap/Makefile
A    /home/zhaowei/toolchain/toolchain/src/cctools/valwrap/valwrap.c
A    /home/zhaowei/toolchain/toolchain/src/cctools/libstuff
A    /home/zhaowei/toolchain/toolchain/src/cctools/libstuff/symbol_list.c
A    /home/zhaowei/toolchain/toolchain/src/cctools/libstuff/arch_usage.c
A    /home/zhaowei/toolchain/toolchain/src/cctools/libstuff/Makefile.in
A    /home/zhaowei/toolchain/toolchain/src/cctools/libstuff/swap_headers.c
A    /home/zhaowei/toolchain/toolchain/src/cctools/libstuff/guess_short_name.c
A    /home/zhaowei/toolchain/toolchain/src/cctools/libstuff/SymLoc.c
A    /home/zhaowei/toolchain/toolchain/src/cctools/libstuff/apple_version.c
A    /home/zhaowei/toolchain/toolchain/src/cctools/libstuff/vm_flush_cache.c
A    /home/zhaowei/toolchain/toolchain/src/cctools/libstuff/fatals.c
A    /home/zhaowei/toolchain/toolchain/src/cctools/libstuff/dylib_table.c
A    /home/zhaowei/toolchain/toolchain/src/cctools/libstuff/errors.c
A    /home/zhaowei/toolchain/toolchain/src/cctools/libstuff/crc32.c
A    /home/zhaowei/toolchain/toolchain/src/cctools/libstuff/breakout.c
A    /home/zhaowei/toolchain/toolchain/src/cctools/libstuff/seg_addr_table.c
A    /home/zhaowei/toolchain/toolchain/src/cctools/libstuff/set_arch_flag_name.c
A    /home/zhaowei/toolchain/toolchain/src/cctools/libstuff/writeout.c
A    /home/zhaowei/toolchain/toolchain/src/cctools/libstuff/fatal_arch.c
A    /home/zhaowei/toolchain/toolchain/src/cctools/libstuff/allocate.c
A    /home/zhaowei/toolchain/toolchain/src/cctools/libstuff/round.c
A    /home/zhaowei/toolchain/toolchain/src/cctools/libstuff/best_arch.c
A    /home/zhaowei/toolchain/toolchain/src/cctools/libstuff/version_number.c
A    /home/zhaowei/toolchain/toolchain/src/cctools/libstuff/ofile.c
A    /home/zhaowei/toolchain/toolchain/src/cctools/libstuff/macosx_deployment_target.c
A    /home/zhaowei/toolchain/toolchain/src/cctools/libstuff/emulated.c
A    /home/zhaowei/toolchain/toolchain/src/cctools/libstuff/execute.c
A    /home/zhaowei/toolchain/toolchain/src/cctools/libstuff/reloc.c
A    /home/zhaowei/toolchain/toolchain/src/cctools/libstuff/checkout.c
A    /home/zhaowei/toolchain/toolchain/src/cctools/libstuff/notes
A    /home/zhaowei/toolchain/toolchain/src/cctools/libstuff/ofile_error.c
A    /home/zhaowei/toolchain/toolchain/src/cctools/libstuff/unix_standard_mode.c
A    /home/zhaowei/toolchain/toolchain/src/cctools/libstuff/hash_string.c
A    /home/zhaowei/toolchain/toolchain/src/cctools/libstuff/arch.c
A    /home/zhaowei/toolchain/toolchain/src/cctools/libstuff/bytesex.c
A    /home/zhaowei/toolchain/toolchain/src/cctools/libstuff/get_toc_byte_sex.c
A    /home/zhaowei/toolchain/toolchain/src/cctools/libstuff/hppa.c
A    /home/zhaowei/toolchain/toolchain/src/cctools/libstuff/ofile_get_word.c
A    /home/zhaowei/toolchain/toolchain/src/cctools/libstuff/dylib_roots.c
A    /home/zhaowei/toolchain/toolchain/src/cctools/libstuff/get_arch_from_host.c
A    /home/zhaowei/toolchain/toolchain/src/cctools/libstuff/print.c
A    /home/zhaowei/toolchain/toolchain/src/cctools/libmacho
A    /home/zhaowei/toolchain/toolchain/src/cctools/libmacho/Makefile.in
A    /home/zhaowei/toolchain/toolchain/src/cctools/libmacho/sparc_swap.c
A    /home/zhaowei/toolchain/toolchain/src/cctools/libmacho/get_end.c
A    /home/zhaowei/toolchain/toolchain/src/cctools/libmacho/getsecbyname.c
A    /home/zhaowei/toolchain/toolchain/src/cctools/libmacho/notes
A    /home/zhaowei/toolchain/toolchain/src/cctools/libmacho/shlib.ofileList
A    /home/zhaowei/toolchain/toolchain/src/cctools/libmacho/getsegbyname.c
A    /home/zhaowei/toolchain/toolchain/src/cctools/libmacho/swap.c
A    /home/zhaowei/toolchain/toolchain/src/cctools/libmacho/dylib.ofileList
A    /home/zhaowei/toolchain/toolchain/src/cctools/libmacho/ppc_swap.c
A    /home/zhaowei/toolchain/toolchain/src/cctools/libmacho/arch.c
A    /home/zhaowei/toolchain/toolchain/src/cctools/libmacho/dynamic_profile_obj
A    /home/zhaowei/toolchain/toolchain/src/cctools/libmacho/m68k_swap.c
A    /home/zhaowei/toolchain/toolchain/src/cctools/libmacho/i860_swap.c
A    /home/zhaowei/toolchain/toolchain/src/cctools/libmacho/m88k_swap.c
A    /home/zhaowei/toolchain/toolchain/src/cctools/libmacho/hppa_swap.c
A    /home/zhaowei/toolchain/toolchain/src/cctools/libmacho/i386_swap.c
A    /home/zhaowei/toolchain/toolchain/src/cctools/install-sh
取出版本 287。
patching file ld64/src/Options.h
patching file otool/main.c
patching file otool/print_objc.c
patching file otool/print_objc2_32bit.c
patching file otool/print_objc2_64bit.c
Configuring cctools-iphone...
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... arm-apple-darwin9
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
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 flex... flex
checking lex output file root... lex.yy
checking lex library... -lfl
checking whether yytext is a pointer... yes
checking for bison... bison -y
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln -s works... yes
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for ranlib... ranlib
checking for ar... ar
checking for configured assembler targets... ppc ppc64 i386 x86_64 arm
checking if -mdynamic-no-pic is supported... no
checking if -fno-builtin-round is supported... yes
checking if -fno-builtin-trunc is supported... yes
checking if -no-cpp-precomp is supported... no
checking if -Wall is supported... yes
checking if -Wno-long-double is supported... yes
checking if -Wno-import is supported... yes
checking if -x objective-c is supported... yes
checking if __private_extern__ is supported... no
checking if -multiply_defined suppress is supported... no
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking stdio.h usability... yes
checking stdio.h presence... yes
checking for stdio.h... yes
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking objc/objc-runtime.h usability... no
checking objc/objc-runtime.h presence... no
checking for objc/objc-runtime.h... no
checking for max unsigned long long... 18446744073709551615ULL
checking for strmode... no
checking for qsort_r... yes
checking for qsort... yes
checking for getattrlist... no
checking for NSIsSymbolNameDefined... no
checking for strlcpy... no
checking whether getc_unlocked is declared... yes
checking whether byte ordering is bigendian... no
configure: creating ./config.status
config.status: creating Makefile
config.status: creating include/Makefile
config.status: WARNING:  /home/zhaowei/toolchain/toolchain/src/cctools/include/Makefile.in seems to ignore the --datarootdir setting
config.status: creating libstuff/Makefile
config.status: creating libmacho/Makefile
config.status: creating ar/Makefile
config.status: WARNING:  /home/zhaowei/toolchain/toolchain/src/cctools/ar/Makefile.in seems to ignore the --datarootdir setting
config.status: creating as/Makefile
config.status: creating as/ppc/Makefile
config.status: creating as/ppc64/Makefile
config.status: creating as/i386/Makefile
config.status: creating as/x86_64/Makefile
config.status: creating as/arm/Makefile
config.status: creating ld/Makefile
config.status: creating ld64/Makefile
config.status: creating man/Makefile
config.status: creating misc/Makefile
config.status: creating otool/Makefile
config.status: creating include/config.h
Building cctools-iphone...
Build progress logged to: /home/zhaowei/toolchain/toolchain/bld/cctools-iphone/make.log
Configuring gcc-4.2-iphone...
creating cache ./config.cache
checking host system type... i686-pc-linux-gnu
checking target system type... arm-apple-darwin9
checking build system type... i686-pc-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 gcc... gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking for gnatbind... no
checking whether compiler driver understands Ada... no
checking how to compare bootstrapped objects... cmp --ignore-initial=16 $$f1 $$f2
checking for correct version of gmp.h... no
*** This configuration is not supported in the following subdirectories:
     target-libmudflap target-libgomp target-libobjc target-libstdc++-v3 target-libssp target-libada gnattools target-libgfortran target-libffi target-zlib target-libjava zlib target-boehm-gc
    (Any other directories should still work fine.)
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... no
checking for expect... no
checking for runtest... no
checking for i686-pc-linux-gnu-ar... no
checking for ar... ar
checking for i686-pc-linux-gnu-as... no
checking for as... as
checking for i686-pc-linux-gnu-dlltool... no
checking for dlltool... no
checking for i686-pc-linux-gnu-ld... no
checking for ld... ld
checking for i686-pc-linux-gnu-lipo... no
checking for lipo... no
checking for i686-pc-linux-gnu-nm... no
checking for nm... nm
checking for i686-pc-linux-gnu-ranlib... no
checking for ranlib... ranlib
checking for i686-pc-linux-gnu-strip... no
checking for strip... strip
checking for i686-pc-linux-gnu-windres... no
checking for windres... no
checking for i686-pc-linux-gnu-objcopy... no
checking for objcopy... objcopy
checking for i686-pc-linux-gnu-objdump... no
checking for objdump... objdump
checking for arm-apple-darwin9-cc... no
checking for arm-apple-darwin9-gcc... no
checking for arm-apple-darwin9-c++... no
checking for arm-apple-darwin9-g++... no
checking for arm-apple-darwin9-cxx... no
checking for arm-apple-darwin9-gxx... no
checking for arm-apple-darwin9-gcc... no
checking for arm-apple-darwin9-gcj... no
checking for arm-apple-darwin9-gfortran... no
checking for ar... no
checking for arm-apple-darwin9-ar... arm-apple-darwin9-ar
checking for as... no
checking for arm-apple-darwin9-as... arm-apple-darwin9-as
checking for dlltool... no
checking for arm-apple-darwin9-dlltool... no
checking for ld... no
checking for arm-apple-darwin9-ld... arm-apple-darwin9-ld
checking for lipo... no
checking for arm-apple-darwin9-lipo... arm-apple-darwin9-lipo
checking for nm... no
checking for arm-apple-darwin9-nm... arm-apple-darwin9-nm
checking for objdump... no
checking for arm-apple-darwin9-objdump... no
checking for ranlib... no
checking for arm-apple-darwin9-ranlib... arm-apple-darwin9-ranlib
checking for strip... no
checking for arm-apple-darwin9-strip... arm-apple-darwin9-strip
checking for windres... no
checking for arm-apple-darwin9-windres... no
checking where to find the target ar... pre-installed
checking where to find the target as... pre-installed
checking where to find the target cc... just compiled
checking where to find the target c++... just compiled
checking where to find the target c++ for libstdc++... just compiled
checking where to find the target dlltool... pre-installed
checking where to find the target gcc... just compiled
checking where to find the target gcj... pre-installed
checking where to find the target gfortran... pre-installed
checking where to find the target ld... pre-installed
checking where to find the target lipo... pre-installed
checking where to find the target nm... pre-installed
checking where to find the target objdump... pre-installed
checking where to find the target ranlib... pre-installed
checking where to find the target strip... pre-installed
checking where to find the target windres... pre-installed
checking whether to enable maintainer-specific portions of Makefiles... no
updating cache ./config.cache
creating ./config.status
creating Makefile
Building gcc-4.2-iphone...
Build progress logged to: /home/zhaowei/toolchain/toolchain/bld/gcc-4.2-iphone/make.log
It seems like the toolchain built!

要的就是最后这句话:It seems like the toolchain built!

不知道后面还有什么问题等着我。

go on.................................

加载中
返回顶部
顶部