<[itchyjunk]>
Hi, i have a noob question. the tutorial i am looking at wrote some c code and compiled it for riscv but idk where this compiler came from. what's an easy way to get this for ubuntu 20.04 ? `riscv64-unknown-elf-gcc add.c -O0 -g` is what they are using to compile c code
<jrtc27>
gcc-riscv64-unknown-elf
<jrtc27>
is the package name
<[itchyjunk]>
ah.. i should have tried that. thanks!
<[itchyjunk]>
I am having some compile issue, i am not sure if i needed to set more stuff up before using the compiler : https://bpa.st/XJ2A
<jrtc27>
that is just a compiler
<jrtc27>
it does not give you any kind of bare-metal run-time environment
winterflaw has quit [Remote host closed the connection]
winterflaw has joined #riscv
winterflaw has quit [Remote host closed the connection]
hendursa1 has quit [Quit: hendursa1]
X-Scale has quit [Ping timeout: 260 seconds]
X-Scale` has joined #riscv
jwillikers has joined #riscv
X-Scale` is now known as X-Scale
hendursaga has joined #riscv
mahmutov has quit [Ping timeout: 265 seconds]
jemarch has joined #riscv
<jemarch>
re
rvalles has quit [Read error: Connection reset by peer]
rvalles has joined #riscv
elastic_dog has quit [Ping timeout: 268 seconds]
elastic_dog has joined #riscv
mahmutov has joined #riscv
joev has quit [Ping timeout: 265 seconds]
arlen_ has quit [Ping timeout: 260 seconds]
adjtm has quit [Quit: Leaving]
adjtm has joined #riscv
winterflaw has joined #riscv
joev has joined #riscv
pecastro has quit [Ping timeout: 265 seconds]
pecastro has joined #riscv
<xypron>
jimwilson: what are you missing on Ubuntu? I have no problem to compile for riscv64 on an amd64 system using Ubuntu 21.04.
<jimwilson>
Ubuntu 20.04 has an incomplete and broken riscv64-elf cross compiler and it is an LTS release, so we will have people reporting this problem for a while
<[itchyjunk]>
oh! so that's what happened with me too
<[itchyjunk]>
I found a different tutorial which set of a different cross compiler which worked for me
<meowray>
"Your dedication to cross-disciplinary collaboration will help develop groundbreaking technologies, such as iOS, macOS, watchOS, and tvOS. " i guess these devices will unlikely migrate to ELF
<sorear>
it's unclear why they _would_ when they can already do whatever they want with arm, but I have no evidence _against_ it either
<jrtc27>
the job listing description makes it sound like they're making risc-v accelerators
<jrtc27>
which makes sense if you want a more cut-down ISA to build on that's not arm-m
freakazoid12345 has joined #riscv
freakazoid343 has quit [Ping timeout: 268 seconds]
mahmutov has quit [Ping timeout: 265 seconds]
winterflaw has joined #riscv
jellydonut has joined #riscv
mahmutov has joined #riscv
mahmutov has quit [Ping timeout: 252 seconds]
mahmutov has joined #riscv
mahmutov has quit [Ping timeout: 245 seconds]
Narrat has quit [Quit: They say a little knowledge is a dangerous thing, but it's not one half so bad as a lot of ignorance.]