Compiling C to MIPS
1
Name:
Anonymous
2009-05-17 22:04
Does anyone know how to compile C to MIPS? I've tried changing the target with gcc but I get this error:
# gcc --target=mips sort.c -o sort.s
cc1: warning: command line option "-ftarget=mips" is valid for Java but not for C
Any ideas?
2
Name:
Anonymous
2009-05-17 22:16
Wolfram|Alpha isn't sure what to do with your input.
3
Name:
Anonymous
2009-05-17 22:32
i686-apple-darwin9-gcc-4.0.1: sort.c: No such file or directory
i686-apple-darwin9-gcc-4.0.1: no input files
<< Exit status: 1 >>
4
Name:
Anonymous
2009-05-17 23:03
Recompile gcc with the appropriate options.
5
Name:
Anonymous
2009-05-17 23:24
>>4
How would I go about doing that?
6
Name:
Anonymous
2009-05-18 0:45
>>5
google: MIPS toolchain
7
Name:
Anonymous
2009-05-18 1:30
Rewrite it in Java, duh.
8
Name:
Anonymous
2009-05-18 5:45
Use the motherfucking google before asking.
9
Name:
Anonymous
2009-05-19 0:51
I did use the motherfucking google, faggot.
10
Name:
Anonymous
2009-05-19 6:20
[spoiler] Use MONO
11
Name:
Anonymous
2009-05-19 6:29
>>10
Now you have two problems
12
Name:
Anonymous
2009-05-19 6:31
>>11
Now you have three problems
13
Name:
Anonymous
2009-05-19 6:33
>>12
Now you have four problems
14
Name:
Anonymous
2009-05-19 7:02
>>13
Now you have
n problems
15
Name:
Anonymous
2009-05-19 7:33
>>14
Now you have
10 39 problems
16
Name:
Anonymous
2009-05-19 9:48
>>15
Now you have mental problems
17
Name:
Anonymous
2009-05-20 8:39
>>15
Now you have
inf problems.
18
Name:
Anonymous
2009-05-20 8:57
>>17
Now you have
[m] NaN
[m] problems
19
Name:
Anonymous
2009-05-20 9:47
>>18
Now
you have
bbcode problems.
Please do not try to be funny.
20
Name:
Anonymous
2009-08-16 22:18
Lain.
21
Name:
Anonymous
2009-08-16 22:47
Build a toolchain (libc, compiler, linker) for mips (or mipsel; these are different). Compile libs. Compile your program.
Jesus fucking Christ, even I who had never done any serious system programming and certainly nothing embedded know that.
Use fucking Google, moron.
22
Name:
Anonymous
2009-08-17 5:35
Newer Posts