I am new here.I tried to compile TCC with MS VC++
yesterdy. Now I can only get the tcc.exe to compile but not to link to windows
API correctly. I don't know the reason. I did it with VC++ 2005 express beta2.
VC8 doesn't support C99 fully. So what I did
1. comment out "inline",
2. change some "switch", the "case" form in the
code should be changed
3. the intialization for array changed to
4. some others, maybe the directory "/" to
I tried using VC6, but too many it needs
changing. It looks VC6 doesn't support "long long".
Compile with VC
cl /O2 tcc.c
I got the executable file. But when I tried
tcc -O2 tcc.c
tcc couldn't find the windows API function, so
it should be link problem.
tcc: undefined symbol 'LoadLibraryA'
undefined symbol 'GetProcAddress'
tcc: undefined symbol
If anyone knows any hints, please tell
Thank you very much,