sorear changed the topic of #riscv to: RISC-V instruction set architecture | https://riscv.org | Logs: https://libera.irclog.whitequark.org/riscv
<[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
<[itchyjunk]> hmm, the running it on qemu-system-riscv64 stuff came after this part in this tutorial i am following https://twilco.github.io/riscv-from-scratch/2019/04/27/riscv-from-scratch-2.html
vagrantc has quit [Quit: leaving]
jacklsw has joined #riscv
winterflaw has quit [Ping timeout: 276 seconds]
raghavgururajan has joined #riscv
[itchyjunk] has quit [Quit: Leaving]
<jimwilson> debian has a full set of cross compiler packages, but Ubuntu only has one package that is useless by itself
<jimwilson> you can build a gnu toolchain from github.com/riscv/riscv-gnu-toolchain, or download a precompiled one from sifive.com/software
frost has joined #riscv
PyroPeter has quit [Ping timeout: 252 seconds]
PyroPeter has joined #riscv
devcpu has quit [Quit: leaving]
mahmutov has joined #riscv
BOKALDO has joined #riscv
riff-IRC has quit [Remote host closed the connection]
riff-IRC has joined #riscv
cp- has joined #riscv
pabs3 has quit [Read error: Connection reset by peer]
pabs3 has joined #riscv
zjason` is now known as zjason
elastic_dog has quit [Ping timeout: 268 seconds]
elastic_dog has joined #riscv
frost has quit [Quit: Connection closed]
frost has joined #riscv
jamtorus is now known as jellydonut
devcpu has joined #riscv
aburgess_ has quit [Ping timeout: 265 seconds]
hendursa1 has joined #riscv
hendursaga has quit [Ping timeout: 276 seconds]
BOKALDO has quit [Quit: Leaving]
winterflaw has joined #riscv
BOKALDO has joined #riscv
aburgess has joined #riscv
aburgess has quit [Ping timeout: 252 seconds]
pecastro has joined #riscv
[itchyjunk] has joined #riscv
aburgess has joined #riscv
TMM_ has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
TMM_ has joined #riscv
X-Scale` has joined #riscv
X-Scale has quit [Ping timeout: 252 seconds]
X-Scale` is now known as X-Scale
sm2n_ has joined #riscv
sm2n has quit [Ping timeout: 268 seconds]
frost has quit [Quit: Connection closed]
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
freakazoid343 has joined #riscv
freakazoid333 has quit [Ping timeout: 268 seconds]
hendursaga has quit [Ping timeout: 276 seconds]
[itchyjunk] has quit [Remote host closed the connection]
hendursaga has joined #riscv
jellydonut has quit [Quit: jellydonut]
jacklsw has quit [Quit: Back to the real life]
TMM_ has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
TMM_ has joined #riscv
oaken-source has quit [Quit: Lost terminal]
oaken-source has joined #riscv
winterflaw has quit [Remote host closed the connection]
Narrat has joined #riscv
linkliu59 has quit [Ping timeout: 252 seconds]
linkliu59 has joined #riscv
[itchyjunk] has joined #riscv
[_] has joined #riscv
[_] has quit [Remote host closed the connection]
[itchyjunk] has quit [Remote host closed the connection]
[itchyjunk] has joined #riscv
jellydonut has joined #riscv
BOKALDO has quit [Quit: Leaving]
jellydonut has quit [Client Quit]
<meowray> do you think apple may port RISC-V to Mach-O?
<la_mettrie> is apple somehow connected to RISC-V?
<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.]
pecastro has quit [Ping timeout: 268 seconds]