title: zeromq library cross compile configure err, unsupported system :elf
body: <p>I am trying to cross compile Zeromq library on MIPS platform.
  I have tried version 2.2, 3.2.4, 4.0.4, but all of them fail to pass the configure checking</p>
  
  <p>The environment variables, CC, CPP, CXX, LD, AR, RANLIB are set.
  Then I run  ./configure --host=mips</p>
  
  <p>Linux kernel: 2.6.31<br>
  gcc version: 4.3.3</p>
  
  <pre><code>checking dynamic linker characteristics... no
  checking how to hardcode library paths into programs... immediate
  checking whether the C compiler works... yes
  checking whether we are using Intel C compiler... no
  checking whether we are using Sun Studio C compiler... no
  checking whether we are using clang C compiler... no
  checking whether we are using gcc &gt;= 4 C compiler... yes
  checking whether the C++ compiler works... yes
  checking whether we are using Intel C++ compiler... no
  checking whether we are using Sun Studio C++ compiler... no
  checking whether we are using clang C++ compiler... no
  checking whether we are using gcc &gt;= 4 C++ compiler... yes
  checking whether to enable debugging information... no
  checking whether to enable code coverage... no
  checking for pthread_create in -lpthread... yes
  checking for clock_gettime in -lrt... yes
  configure: error: unsupported system: elf
  </code></pre>