编译的出错信息:
creating cache ./config.cache
checking host system type... i686-pc-linux-gnu
checking target system type... arm-unknown-elf
checking build system type... arm-unknown-elf
checking for a BSD compatible install... /usr/bin/install -c
/usr/local/lib/gcc-lib/arm-elf/2.95.3/libgcc.a(__main.o): In function `__do_global_ctors':
__main.o(.text+0xc4): undefined reference to `__CTOR_LIST__'
/usr/local/lib/gcc-lib/arm-elf/2.95.3/libgcc.a(__main.o)(.data+0x0): undefined reference to `__DTOR_LIST__'
collect2: ld returned 1 exit status
*** The command 'arm-elf-gcc -o conftest -g -O2 conftest.c' failed.
*** You must set the environment variable CC to a working compiler.