On 07/12/2018 06:51 AM, Guo Ren wrote:
On Wed, Jul 11, 2018 at 10:51:33AM +0100, David Howells wrote:
Can you say what the --target tuple should be so that I can add the arch to my
collection of Fedora cross-binutils and cross-gcc tools built from upstream
binutils and gcc sources?
Metor Graghics are helping us upstream gcc and binutils.
@Sandra,
Could you help me to reply the question?
Neither binutils nor gcc support for C-SKY are in the upstream
repositories yet. We should be resubmitting the binutils port soon
(with bug fixes to address the test failures that caused it to be
rejected the last time), and the gcc port will follow that shortly.
The target triplets we have been testing are csky-elf, csky-linux-gnu,
and csky-linux-uclibc. Note that the gcc port will only support v2
processors/ABI so that is the default ABI for these triplets.
I'm not familiar with the Fedora tools, but to build a complete
toolchain you'll need library support as well and I'm not sure what the
submission status/plans for that are. E.g. Mentor did a newlib/libgloss
port for local testing of the ELF toolchain and provided it to C-SKY,
but pushing that to the upstream repository ourselves is not on our todo
list.
-Sandra