I'm using binfmtc to allow me to run a C program without performing an explicit build step. This worked fine until I started using math functions, at which point I see messages such as:
undefined reference to `sin'
The header that I use is:
/*BINFMTC: -Wall -Werror -std=c99 -lm
*/
How can I get this program to link?
Closely related: "undefined reference to `pow'" even with math.h and the library link -lm