title: Cannot use cross compiler: gnu-unknown-linux-gnu-gcc in PXA270
body: <p>I have a PXA270 board and I am trying to use gnu-unknown-linux-gnu-gcc to compile a file and put it in my board. I have done some steps as follow:</p>
  
  <p>1.Unzip the file, </p>
  
  <pre><code>SHELL&gt; sudo tar zxvf arm-linux-toolchain-bin-4.0.2.tar.gz -C/ 
  </code></pre>
  
  <p>2.Add one line to my ~/.bashrc,</p>
  
  <pre><code>export PATH=$PATH:/opt/microtime/pro/devkit/arm/pxa270/gcc-4.0.2-glibc-2.3.3/arm-unknown-linux-gnu/bin
  </code></pre>
  
  <p>3.Reload the ~/.bashrc</p>
  
  <pre><code>SHELL&gt;source ~/.bashrc
  </code></pre>
  
  <p>After these steps are done, I try</p>
  
  <pre><code>SHELL&gt;arm-unknown-linux-gnu-gcc -v
  </code></pre>
  
  <p>and it turn out that</p>
  
  <pre><code>bash: /opt/microtime/pro/devkit/arm/pxa270/gcc-4.0.2-glibc-2.3.3/arm-unknown-linux-gnu/bin/arm-unknown-linux-gnu-gcc: No such file or directory
  </code></pre>
  
  <p>It is weird that I go to the path "/opt/microtime/pro/devkit/arm/pxa270/gcc-4.0.2-glibc-2.3.3/arm-unknown-linux-gnu/bin" and I do see the arm-unlnown-linux- gnu-gcc there.</p>
  
  <p>So my problems are:</p>
  
  <p>1.Why can't my cross compiler arm-unknown-linux-gnu-gcc work after these setting?</p>
  
  <p>2.Is the cross compiler setting the same as gcc? </p>
  
  <p>Thanks for your help!</p>
  
  <p>Edit:</p>
  
  <p>I've founded that the cross compiler file is for 32 bit and my vm is 64 bit.
  To make some modification and it will work!</p>