Homebrew formulae of Litchi cross-compile toolchains.
i386-litchi-elf-gcc
: gcc, g++ with newlib libstdc++litchi-qemu
: ported from JOS, patched to dump registers when fault occurs
Bottles for macOS Catalina are provided. For other platform like old macOS or Linux, toolchains are built from sources.
$ brew tap bugenzhao/litchi
$ brew install i386-litchi-elf-binutils i386-litchi-elf-gcc i386-litchi-elf-gdb litchi-qemu
- Create a Bintray repo named "bottles-litchi"
- Create several packages under it, named the same as the formulae, e.g. "i386-litchi-elf-gcc"
- Build bottles.
brew test-bot --root-url="https://dl.bintray.com/bugenzhao/bottles-litchi" --bintray-org=bugenzhao --tap=bugenzhao/litchi i386-litchi-elf-gcc i386-litchi-elf-gdb i386-litchi-elf-binutils
- Upload to Bintray.
HOMEBREW_BINTRAY_USER=bugenzhao HOMEBREW_BINTRAY_KEY=SECRET brew pr-upload --root-url="https://dl.bintray.com/bugenzhao/bottles-litchi" --bintray-org=bugenzhao --debug
- Push the formulae to GitHub
cd /usr/local/Homebrew/Library/Taps/bugenzhao/homebrew-litchi/ git push