This is the mail archive of the ecos-patches@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: more compiler flags - MIPS


Hi Bart

Bart Veer wrote:

> There is some confusion in the rm7000/ocelot HAL. The original CDL
> always used -mips2 for CFLAGS, but either -mips32 or -mips2 for
> LDFLAGS depending on endianness. I have assumed that the -mips32 was a
> typo and have switched to -mips2 throughout, but I don't know the
> details of this platform.

The RM7000 is a MIPS IV processor and does not support the entire MIPS32
instruction set. Compilation with -mips2 for this target was deliberate.
I expect the -mips32 linker switch is indeed erroneous.

John Dallaway


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]