Welcome to the most active Linux Forum on the web.
Go Back > Forums > Non-*NIX Forums > Programming
User Name
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.


  Search this Thread
Old 10-01-2005, 06:04 PM   #1
Registered: Jul 2004
Location: New Orleans, Louisiana
Distribution: Slackware 10.1
Posts: 142

Rep: Reputation: 15
translate C to MIPS

Is there a command to translate C to MIPS?
I heard that gcc converts C to MIPS. Is this true? If so, how can I do it.
Thanks in advance.
Old 10-01-2005, 09:12 PM   #2
Registered: Oct 2005
Posts: 51

Rep: Reputation: 16
Use GCC's -march switches for your particular processor. I think the GCC manpage will tell you everything you need to know about compiling C code for a MIPS processor.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
MIPS question... kponenation Programming 10 10-04-2005 01:21 AM
How do I implement MIPS instructions into C or C++? hippo100 Programming 7 11-07-2004 11:51 AM
Bluetooth on MIPS-System tomcat22 Linux - General 0 10-07-2004 05:24 AM
MIPS assembly question Gnute Programming 1 08-24-2004 05:33 PM
MIPS assembly fenriswolf Programming 0 10-17-2001 03:01 PM > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 07:15 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration