Am 13.05.2013 22:48, schrieb Michael Ring:
Am 13.05.13 20:36, schrieb Florian Klämpfl:
Am 13.05.2013 20:07, schrieb Michael Ring:
OK, I got kind of bored last weekend and started to implement
mips-embedded target. The crosscompiler builds fine and already shows
the list of (not yet implemented) pic32mx controllers, I am now
searching through the code for places that I need to change.

One thing that makes me wonder is how mips and mipsel defines are
related and when to use the 'mips' and when to use 'mipsel'.
mips: mipsel and mipseb

Perhaps I was not clear enough, when doing defines for embedded in the code should I use:

{$if defined(arm) or defined(avr) or defined(mips)}

or

{$if defined(arm) or defined(avr) or defined(mipsel)}
It seems that Florian was not clear enough either:
- use mipsel if it applies to MIPS Little Endian only
- use mipseb if it applies to MIPS Big Endian only
- use mips if it applies to both MIPS Little and Big endian

Regards,
Sven
_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to