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)
There is supposed to be a way to do this VIA gcc and I would prefer this i just keep hitting walls.
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.
http://moozing.wordpress.com/2011/04/05/cross-compile-in-debian/
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
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??
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 ..
also I tried apt-get install libgmp-dev libgmp3-dev too.
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.
Thanks!