Skip to content

Instantly share code, notes, and snippets.

View mariusdkm's full-sized avatar
🐧
YEET

NotSomeBot mariusdkm

🐧
YEET
View GitHub Profile

Installing lldb-mi on mac os with mac ports

If you are using brew instead of mac ports your steps may vary!

Setup

You need to have clang and llvm installed on your system.

  • I have clang-14 and llvm-14 installed on my system (through mac ports!).
  • Make sure they are selected as default port select clang and port select llvm
    • If not select them by sudo port select clang mp-clang-14(and the same for llvm
# Add additional compiler flags here
CFLAGS=-O2 -Wall -Wextra -Wpedantic -g -std=c11 -DWITHMAIN
# execute all code wrapped inside of #ifdef WITHMAIN/#endif using the flag -DWITHMAIN
NAME := brainfuck
EXERCISE := B2_brainfuck
USERNAME := ge69usr
PASSWORD := MyPass
.PHONY: all run upload login clean
@mariusdkm
mariusdkm / readme.md
Last active September 12, 2022 13:46
Installing pyodbc using Mac Ports on MacOS (with and without ARM M1 Chip)

I didn't find any tutorial using mac ports to install pyodbc on a mac with m1, so here is my way, maybe it helps somebody. My goal was to talk to a MS SQL Server.

If you want to use Homebrew instead or more information please look here https://gist.github.com/Bouke/10454272

Installing pyodbc

The only dependency you are going to need is freetds, it will install automatically it's dependencies. BUT because we later on need the shared object file libtdsodbc.so you need to install it with as the variant +odbc.