tcc problem?Forum: Other Help Topics Topic: tcc problem? started by: Martin2 Posted by Martin2 on Nov. 30 2003,16:58
I wrote this hello.c:=============== #include<tcclib.h> int main() { printf("Hello World!\n"); } =============== I can run it with the: tcc -run hello.c but the: tcc -o hello hello.c generates the following errors: tcc: undefined symbol '__libc_start_main' tcc: undefined symbol 'printf' Can you help? Martin Posted by roberts on Nov. 30 2003,20:45
This has been discussed before: Search forum ortry tcc -o hello -lstdc++-3-libc6.1-2-2.10.0 hello.c Posted by Martin2 on Nov. 30 2003,21:12
"This has been discussed before: Search forum ortry tcc -o hello -lstdc++-3-libc6.1-2-2.10.0 hello.c" It worked, thank you very much! Unfortunately the search does not work, I looked for "tcc" - no luck with the older discussion. Do you have a link? |