Hi,
2. can pcc-mips generate both of MIPSEL and MIPSEB binaries with a single set of PCC compiler body with the help of appropriate command line option?No, the front end does not properly support multi-arch environment at this time.. (I have been working at improving this but nothing ready for publication as yet :)The compiler-specific infrastructure is there, look at powerpc for example. Stuff missing is a nice way to tell cpp which defines it should use.
How about introducting gcc style ${} / $() string parser with conditional replacement? A bit worrysome about abuse since gcc aggressively, probably too aggressively, relies on it. Toru Nishimura / ALKYL Technology