Hamilton, Ian wrote:
I'm trying to build software for the AMD AU1100 processor using version
3.3.2 of the gnu compiler, and I'm having trouble figuring out the -march,
-mtune, etc settings.
Version 2.95 of gcc uses something like -mcpu=r4600, but this doesn't work
I've tried other likely-looking options (e.g. -mips32), but the compiler
fails to assembler instructions like mtc0 and cache.
Has anyone built for the AU1100 using gcc 3.3.2? If so, could you tell me
the cpu options you used please?
For a VR41xx CPU with GCC 3.3.1 I have used
-march=r4600 -mips3 -Wa,--trap
instead of the old
-mcpu=r4600 -mips2 -Wa,--trap
Not sure whether this is correct (no test of the output on a target
yet), but it compiles.