I use tcc on windows xp, it can compile a ANSI c program perfectly.
And I copy winsock.h and libwsock32.a from mingw to tcc's include and lib
directory, using
"tcc -lwsock32 test.c" to compile a winsock program.
But ........
"
tcc: undefined symbol 'WSAStartup'
tcc: undefined symbol 'socket'
tcc: undefined symbol 'htons'
tcc: undefined symbol 'inet_addr'
tcc: undefined symbol 'bind'
"
what should I do ?
_________________________________________________________________
与世界各地的朋友进行交流,免费下载 MSN Messenger:
http://messenger.msn.com/cn
_______________________________________________
Tinycc-devel mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/tinycc-devel