riscv target spec for newlib and rtems

Joel Sherrill joel at rtems.org
Thu Jan 11 14:16:46 UTC 2024

On Sat, Dec 30, 2023, 9:45 AM Matt Wette <matt.wette at gmail.com> wrote:

> The build from git master worked (but first try I ran out of disk space:
> needs > 10 G for the build.

That's good news that it built.

We need to check the Users Guide to see if it has disk space
recommendations. Did you see any?

Personally, I always try to leave at least 20GB free in my working VMs. I
think my current Rocky 9 VM started with 120GB for the OS, etc.


> Matt
> On 12/27/23 4:06 PM, Joel Sherrill wrote:
> 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-
>> 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/20240111/4fae4f45/attachment.htm>

More information about the users mailing list