Skip to content

Instantly share code, notes, and snippets.

View jsdf's full-sized avatar

James Friend jsdf

View GitHub Profile
@jsdf
jsdf / build-posix64-toolchain.sh
Created July 12, 2020 17:14
building libgcc for n64chain
diff --git a/../n64chain/tools/build-posix64-toolchain.sh b/build-posix64-toolchain.sh
index 71d56af..a81f60f 100755
--- a/../n64chain/tools/build-posix64-toolchain.sh
+++ b/build-posix64-toolchain.sh
@@ -1,5 +1,5 @@
#!/bin/bash
-set -eu
+set -eux
#
// SPDX-FileCopyrightText: 2021 Phil Burgess for Adafruit Industries
//
// SPDX-License-Identifier: MIT
/*
GOOGLY EYES for Adafruit EyeLight LED glasses + driver. Pendulum physics
simulation using accelerometer and math. This uses only the rings, not the
matrix portion. Adapted from Bill Earl's STEAM-Punk Goggles project:
https://learn.adafruit.com/steam-punk-goggles
*/
@jsdf
jsdf / Dockerfile
Created December 3, 2023 02:36
N64 SDK + Compiler toolchain
# to get started: colima start
# to build: docker build -t n64sdkmod .
# to run with workspace dir: docker run -v $(pwd):/workspace -it n64sdkmod
FROM ubuntu:22.04
ENV PATH=/etc/n64/usr/sbin:${PATH}
ENV PATH=/opt/crashsdk/bin:${PATH}
ENV ROOT=/etc/n64