Skip to content

Instantly share code, notes, and snippets.

View franzflasch's full-sized avatar

franzflasch

View GitHub Profile
@franzflasch
franzflasch / qemu-arm-with-busybox-linux-and-shared-folder.md
Last active October 18, 2024 15:40
Howto qemu-arm with busybox linux and shared folder

Install dependencies

apt-get install gcc-arm-linux-gnueabihf qemu

Prepare work directory

mkdir qemu-arm-sandbox && cd qemu-arm-sandbox
@franzflasch
franzflasch / gcc-llvm-cheat-sheet.md
Last active November 11, 2019 09:35
gcc-cheat-sheet

GCC

List supported ARCH and ABI

gcc -Q --help=target  

Clang/LLVM

List supported targets

llc --version
@franzflasch
franzflasch / howto-ct-ng-sifive-hifive1.md
Last active January 21, 2024 06:21
crosstool-ng risc-v - sifive hifive1 configuration

Howto build a crosscompiler for risc-v sifive-hifive1 with crosstool-ng

Create working dir

mkdir risc-v-gcc
cd risc-v-gcc

Fetch crosstool-ng

git clone https://github.com/crosstool-ng/crosstool-ng.git