mr4th-dynamic-linking/linux_before_main/build.sh

13 lines
146 B
Bash

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