When attempting to call functions in math.h, I\'m getting link errors like the following
math.h
undefined reference to sqrt
But I\'
You need to link the math library explicitly. Add -lm to the flags you're passing to gcc so that the linker knows to link libm.a
-lm
libm.a