Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

C to MIPS

Name: Anonymous 2007-11-09 23:42

How do I use GCC (or something else) to compile C into MIPS assembly?

I've tried all kinds of options with all kinds of values and I can't figure anything out. I also can't find any information on the web besides a few people asking questions that don't get answered.

Name: Anonymous 2007-11-09 23:53

I looked at man gcc and it didn't help me any. It lists thousands of options that don't make any sense.

For example, under "Target Options" it has "-b machine" but when I run gcc with -b it says the -b option is unrecognized. Not the value to -b, but just "-b" itself. WTF?! Then why is it listed right there like it's supposed to mean something?!

I've also looked at the online documentation at gcc.gnu.org and gcc --help and gcc --target-help. Always tons of stuff that makes no sense.

I've never had as much trouble with anything as I've had with GCC over the years. I still can't ever figure out how to get GCC to do anything I want.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List