riscv target spec for newlib and rtems
Joel Sherrill
joel at rtems.org
Thu Dec 28 00:06:19 UTC 2023
Sounds like you are trying to do this by hand. The RTEMS Source Builder
(RSB) is the recommended way to build tools. See
https://docs.rtems.org/branches/master/user/index.html for detailed
instructions on the required packages on your host and how to use the RSB.
The RSB fetches, patches, and builds the recommended tool versions.
Not that you need it with the RSB building everything for you but the
target should be riscv-rtems6.
On Wed, Dec 27, 2023, 5:43 PM Matt Wette <matt.wette at gmail.com> wrote:
> Hi All,
>
> I'm working on compiling binutils, gcc, newlib and rtems-5.3 for
> RISC-V. What is appropriate target-spec?
> I've searched for specification hints but can't anything. Currently, I'm
> using riscv-rtems-elf but it seems
> newlib and rtems want to see a target spec with four fields and rtems is
> #3 or #4 in the list.
> Any references for this?
>
> for reference, using binutils-2.38, gcc-12.3.0 and newlib-4.3.0.20230120
> I've gotten binutils, gcc and newlib to build (with patch to deal with
> above config issue on newlib).
>
> Matt
>
>
> _______________________________________________
> users mailing list
> users at rtems.org
> http://lists.rtems.org/mailman/listinfo/users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/users/attachments/20231227/a121ffad/attachment.htm>
More information about the users
mailing list