mr4th-dynamic-linking/clang/build_linux_before_main.sh

14 lines
172 B
Bash

#!/bin/bash
# Path setup
cd ../linux_before_main
src=$PWD
cd ..
mkdir -p build
cd build
# Build
clang -fvisibility=hidden $src/linux_before_main.c -o linux_before_main