EmbLogic's Blog

error:while cross-compiling the gcc for arm-board

configure: creating cache ./config.cache
checking build system type… arm-unknown-linux-gnu
checking host system type… arm-unknown-linux-gnu
checking target system type… arm-unknown-linux-gnu
checking LIBRARY_PATH variable… ok
checking GCC_EXEC_PREFIX variable… ok
checking whether to place generated files in the source directory… no
checking whether a default linker was specified… no
checking whether a default assembler was specified… no
checking for arm-linux-gcc… arm-linux-gcc
checking for C compiler default output file name… a.out
checking whether the C compiler works… configure: error: cannot run C compiled programs.
If you meant to cross compile, use `–host’.
See `config.log’ for more details.
make: *** [configure-gcc] Error 1

One Response to error:while cross-compiling the gcc for arm-board

  1. vaibhav says:

    if u r facing the same problem then jst change yr option according to in

    –target=$TARGET –build=$TARGET –host=i686-unknown-linux-gnu

    then u wwill able to configure the gcc successfully

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>