<div dir="auto">Sounds like you are trying to do this by hand. The RTEMS Source Builder (RSB) is the recommended way to build tools. See <a href="https://docs.rtems.org/branches/master/user/index.html">https://docs.rtems.org/branches/master/user/index.html</a> for detailed instructions on the required packages on your host and how to use the RSB.<div dir="auto"><br></div><div dir="auto">The RSB fetches, patches, and builds the recommended tool versions. <br><div dir="auto"><br></div><div dir="auto">Not that you need it with the RSB building everything for you but the target should be riscv-rtems6.</div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Dec 27, 2023, 5:43 PM Matt Wette <<a href="mailto:matt.wette@gmail.com">matt.wette@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi All,<br>
<br>
I'm working on compiling binutils, gcc, newlib and rtems-5.3 for <br>
RISC-V. What is appropriate target-spec?<br>
I've searched for specification hints but can't anything. Currently, I'm <br>
using riscv-rtems-elf but it seems<br>
newlib and rtems want to see a target spec with four fields and rtems is <br>
#3 or #4 in the list.<br>
Any references for this?<br>
<br>
for reference, using binutils-2.38, gcc-12.3.0 and newlib-4.3.0.20230120<br>
I've gotten binutils, gcc and newlib to build (with patch to deal with <br>
above config issue on newlib).<br>
<br>
Matt<br>
<br>
<br>
_______________________________________________<br>
users mailing list<br>
<a href="mailto:users@rtems.org" target="_blank" rel="noreferrer">users@rtems.org</a><br>
<a href="http://lists.rtems.org/mailman/listinfo/users" rel="noreferrer noreferrer" target="_blank">http://lists.rtems.org/mailman/listinfo/users</a></blockquote></div>