Hi all, I'm having a problem using certain Win32 functions under TCC. I am writing a version of the unix utility 'uptime' for Windows, which relies on the Windows API function GetTickCount (), which retrieves the number of milliseconds since last boot. I then hope to display the output via the MessageBox(HWND,char *,char *,uint) function, but when I go to compile the program I get the following:
tcc: undefined symbol 'GetTickCount' tcc: undefined symbol 'MessageBoxA' Is this because I have not got my linking paths set up correctly( I copied all the headers in the include/winapi directory to the standard include directory) or because the TCC standard library does not include these functions. I believe they do have some of the functions, as when I accidentally entered three arguments in MessageBox instead of the required four, TCC was able to report that I had not supplied enough parameters, so the function prototype is obviously defined somewhere! _______________________________________________ Tinycc-devel mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/tinycc-devel
