Skip to content

Instantly share code, notes, and snippets.

View m0sys's full-sized avatar
f = ma

M0 m0sys

f = ma
  • Montreal, Canada
View GitHub Profile
m0sys /
Last active December 18, 2023 19:10
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'.