Reputation: 41
So the latest version of TCC supposedly has some of the features of C99 implemented, however, I have found that it does not include C99's Math library.
Is there a way I can get it to use more of C99's libraries on windows? I googled around and found some advice mostly pertaining to Linux, but for this project I need to get it to work on windows.
EDIT: This is not a question about getting 'any' compiler on the windows platform. I realize that there are many compilers. I specifically need to get TCC to do this.
EDIT: The project needs to do some on the fly C compilation, and we would like to see if we can use TCC for this feature.
Upvotes: 2
Views: 1853
Reputation: 1047
The documentation for Windows indicates that the TCC installation on Windows deploys a minimal set of MinGW headers. Copy the headers you need from MinGW into the tcc/include/winapi
(i.e. place them under tcc-build-root/win32/include/winapi
) and then build tcc with build-tcc.bat
.
Upvotes: 2
Reputation: 2547
Try Visual Studio Express Edition for 'C'.It's free and IDE is more developed than TCC
Upvotes: 0