Current-Users archive

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

Re: MIPS pcc endian



Iain Hibbert replies;

../.././machine/endian_machdep.h:8: error: neither __MIPSEL__ nor __MIPSEB__
are defined.

My Qs are;

1. how can I fix it?

these should come from within the compiler front end; you would add them
to the CPPMDADD definition, in
 external/bsd/pcc/dist/pcc/os/netbsd/ccconfig.h

Thank you.  I try it.

(but I'm not sure how well MIPS is supported with pcc)

I will conquer.  I'm also interested in adding N32/N64 ABI and MIPS16e
instruction set support.

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 :)

Ack.  Will wait for the good news.

Toru Nishimura / ALKYL Technology


Home | Main Index | Thread Index | Old Index