LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
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.

Notices

Reply
 
Search this Thread
Old 10-01-2005, 07:04 PM   #1
kponenation
Member
 
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, 10:12 PM   #2
destuxor
Member
 
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.
 
  


Reply


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 02:21 AM
How do I implement MIPS instructions into C or C++? hippo100 Programming 7 11-07-2004 12:51 PM
Bluetooth on MIPS-System tomcat22 Linux - General 0 10-07-2004 06:24 AM
MIPS assembly question Gnute Programming 1 08-24-2004 06:33 PM
MIPS assembly fenriswolf Programming 0 10-17-2001 04:01 PM


All times are GMT -5. The time now is 06:11 AM.

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