Hello,
Here is a small example program that reproduces the error:
#!/usr/local/bin/tcc -run
#include <stdlib.h>
#include <stdio.h>
int main(int argc, char **argv) {
int y = (int)(25.0 * (rand() / RAND_MAX));
printf("%d\n",y);
exit(EXIT_SUCCESS);
}
when attempting to execute it (or even compile it, without the #!), I get these
errors:
tcc: error: undefined symbol '__tcc_int_fpu_control'
tcc: error: undefined symbol '__tcc_fpu_control'
I see this behavior on CentOS 5.9 and Debian 6.0.7
CentOS gcc: 4.4.7 20120313 (Red Hat 4.4.7-1)
Debian gcc: 4.4.5 (Debian 4.4.5-8)
Both are 32-bit
tcc version 0.9.25 & 0.9.26, configured only as '--with-libgcc'
Can anyone shed some light?
Thank you,
Steve
_______________________________________________
Tinycc-devel mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/tinycc-devel