Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: MIPS pcc endian



On 04/21/2012 12:23 AM, Toru Nishimura wrote:
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.
It's not the inplementation parts that is the problem, its merely just to get it done. #ifdef's work in the old cc, but the goal is to finish and start using Joerg's new driver.

// Ragge


Home | Main Index | Thread Index | Old Index