View Full Version : How to convert c code into Mips code???????
Aejo
June 30th, 2009, 03:57 PM
Is there any software that can do this???????
doas777
June 30th, 2009, 03:59 PM
I may be wrong, but it is my understanding that mips is an architechure. thus all you should need to do is find a mips box with a c compiler, and build it.
prolly not that simple in reality, but that is supposed to be why unix was superior, and why having a kernel written mostly in C was portable. all you needed was a compiler to build with.
unknownPoster
June 30th, 2009, 04:03 PM
I may be wrong, but it is my understanding that mips is an architechure. thus all you should need to do is find a mips box with a c compiler, and build it.
prolly not that simple in reality, but that is supposed to be why unix was superior, and why having a kernel written mostly in C was portable. all you needed was a compiler to build with.
QEMU supports MIPS emulation, but I'm not sure if it is the appropriate solution to this problem...
Can+~
June 30th, 2009, 04:07 PM
Second post regarding how to cheat your homework.
Check the response I gave you on the other post.
I would be more helpful, provide examples, links, explanations; but seems you are not interested to learn, so I'm not willing to teach.
soltanis
June 30th, 2009, 04:38 PM
Do you know what a compiler is?
man gcc
seriously.
Aejo
June 30th, 2009, 05:41 PM
thanks for all responses.
Odemia
June 30th, 2009, 06:44 PM
Do you know what a compiler is?
man gcc
seriously.
+1
Or if you aren't familiar with gcc (for some very weird reason), you could try google. Say "crosscompiling for mips" the top result looks pretty good.
vBulletin® v3.8.7, Copyright ©2000-2012, vBulletin Solutions, Inc.