Skip to content

Instantly share code, notes, and snippets.

ν = iR

M0 m0sys

ν = iR
  • Toronto, Canada
View GitHub Profile
m0sys /
Last active March 22, 2023 15:28
Apple M1 ARM GDB Build from Source with Python Support
#!/usr/bin/env sh
# NOTE: First, have to ignore the following warnings to make it build on M1 Chip.
# -Wno-constant-logical-operand -Wno-format-nonliteral -Wno-self-assign
# To do so the above line should be appended to consts CFLAGS and CXXFLAGS
# under the 'Programs producing files for the HOST machine' section of
# the generated Makefile in dir 'build-gdb'.