title: Compile C for Mips architecture
body: <p>I have seen several ways to do this (and so far I havent tried a couple but I want to isolate this one for ease)</p>
  
  <p>There is supposed to be a way to do this VIA gcc and I would prefer this i just keep hitting walls. </p>
  
  <p>I am using debian7 and can use what ever other flavor out there (I am for the time being wanting to avoid qemu casue I want something smaller scale.)
  I am following this example found here.</p>
  
  <p><a href="http://moozing.wordpress.com/2011/04/05/cross-compile-in-debian/" rel="noreferrer">http://moozing.wordpress.com/2011/04/05/cross-compile-in-debian/</a></p>
  
  <p>I have been able to do everything and during part of this I had to install
  libgmp3c2-dummy_1.0_all.deb for ti to continue</p>
  
  <p>just now I need to compile and all I am compiling is a simple hello world script however , upon compiling I can't cause libgmp.so.3 is not in the /usr/lib/ dir however, there is one in /usr/lib/mips-linux-gnu-gcc folder I thought I'd copy it over to see if  get it to compile and I get that this elf file is encoded in big-endian which makes sense. but what is it that I am missing to compile this file??</p>
  
  <p>and I tried to compile the thing as big endian I think that either that I have confusion from the libraries or that I need a differnt libgmp.so.3  ..</p>
  
  <p>also I tried apt-get install libgmp-dev libgmp3-dev  too.</p>
  
  <p>Thank you for helping helping if you can! :)  and if you know of a simple way to do this that wont take a bunch of space on the my machine then I am open but I would like to try with GCC and using the tool chain. </p>
  
  <p>Thanks!</p>