Hints on compiling using a gcc-3.x toolchain.
Posted: Fri Mar 12, 2004 7:12 pm
A few things have changed, but not much. Here's some hints:
1) If you get an error about -mcpu, just change it to -march.
2) Using -march seems to automatically specify a -mips level. Delete the offending -mips.
3) If you get errors about 'puts', add a -fno-builtin to your cflags.
I'm sure someone is going to come along and comment on how wrong I am and there's a better way to do it, to which I respond:
Why am I writing this message instead of you, hmm?
1) If you get an error about -mcpu, just change it to -march.
2) Using -march seems to automatically specify a -mips level. Delete the offending -mips.
3) If you get errors about 'puts', add a -fno-builtin to your cflags.
I'm sure someone is going to come along and comment on how wrong I am and there's a better way to do it, to which I respond:
Why am I writing this message instead of you, hmm?