Skip to content

Instantly share code, notes, and snippets.

View 27justin's full-sized avatar

Justin 27justin

View GitHub Profile
@27justin
27justin / build-linux-illumos-gcc.sh
Last active April 20, 2021 07:15
Build a cross-compiler for x86_64-sun-solaris2.11
#!/bin/bash
# Tested against SmartOS (build: 20200117T180335Z)
# Should work on any x86_64-sun-solaris2.11 operating system tho
# Fail on any error
set -e
PREFIX=~/Dokumente/cross/x86_64-sun-solaris2.11
SYSROOT=$PREFIX/sysroot