So I'm attempting to compiling a program using the linux command line. I'm using linux through a virtual machine. I compile using
gcc -lm calc.c -o calc
where calc.c
is the source file and I'm compiling with -lm
because it includes math.h
. I'll make changes to the source code but it does not reflect when I run. In fact, that line of code does not even produce calc.exe....Help??