Handy commands for using the RISC-V gnu toolchain and generate .elf or .hex w/ libgcc

This page summarizes the projects mentioned and recommended in the original post on /r/RISCV

InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  • compile-for-risc-v-gnu

    Examples for compiling code using the RISC-V gnu toolchain

  • trv

  • bruce@rip:~$ git clone https://github.com/brucehoult/trv.git Cloning into 'trv'... remote: Enumerating objects: 10, done. remote: Counting objects: 100% (10/10), done. remote: Compressing objects: 100% (8/8), done. remote: Total 10 (delta 2), reused 10 (delta 2), pack-reused 0 Receiving objects: 100% (10/10), 4.37 KiB | 4.37 MiB/s, done. Resolving deltas: 100% (2/2), done. bruce@rip:~$ cd trv bruce@rip:~/trv$ gcc -O trv.c -o trv bruce@rip:~/trv$ cat >foo.s < .globl main > main: > li a0,3 > li a1,23 > call __mulsi3 > ret > END bruce@rip:~/trv$ riscv64-unknown-elf-gcc -O -march=rv32i -mabi=ilp32 foo.s -o foo bruce@rip:~/trv$ qemu-riscv32 foo bruce@rip:~/trv$ echo $? 69 bruce@rip:~/trv$ riscv64-unknown-elf-objcopy -O ihex foo foo.hex bruce@rip:~/trv$ ./trv foo.hex bruce@rip:~/trv$ echo $? 69

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • pg_timeseries: Open-source time-series extension for PostgreSQL

    1 project | news.ycombinator.com | 20 May 2024
  • HypoPG: Hypothetical Indexes for PostgreSQL

    1 project | news.ycombinator.com | 20 May 2024
  • Ubuntu 24.10 to Default to Wayland for Nvidia Users

    2 projects | news.ycombinator.com | 19 May 2024
  • Show HN: I built an image optimization tool based on Google's new Jpegli encoder

    2 projects | news.ycombinator.com | 17 May 2024
  • Beating Jeff's 3.14 Ghz Raspberry Pi 5

    4 projects | news.ycombinator.com | 20 May 2024