Skip to content

Instantly share code, notes, and snippets.

View jemc's full-sized avatar
🔍
Open to new work opportunities

Joe Eli McIlvain jemc

🔍
Open to new work opportunities
  • TheoremOne
  • Cascadia
View GitHub Profile
@darach
darach / fony.sh
Last active February 15, 2021 20:36
Example showing how to compile pony executables via LLVM and clang from LLVM IR produced by 'ponyc -rir ...'
#!/bin/sh
LLVM_HOME=/usr/local/Cellar/llvm/3.6.2/bin
PONY_HOME=/path/to/pony/repo
PONY_LIBS=${PONY_HOME}/build/debug
TARGET_ARCH=x86-64
OUT_LL="$1.ll"
OUT_BC="$1.bc"
OUT_S="$1.s"