The problem is apparently that sinf isn't declared in Microsoft's <math.h> header file; try searching MSDN to see where it is declared.
What's happening is that C treats undeclared functions as being implicitly declared to return int (4 bytes), which explains why you're getting bad values. If you explicitly declare the function: extern double sinf(double); things should start working. In short, tcc is behaving properly; the headers / library aren't matching your expectations. HTH, Arnold _______________________________________________ Tinycc-devel mailing list Tinycc-devel@nongnu.org https://lists.nongnu.org/mailman/listinfo/tinycc-devel