On 10/15/05, Donald Smith <[EMAIL PROTECTED]
> wrote:
Hi Guys,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 are1. comment out "inline",2. change some "switch", the "case" form in the code should be changed3. the intialization for array changed to traditinal form4. 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 VCcl /O2 tcc.cI got the executable file. But when I tried totcc -O2 tcc.ctcc couldn't find the windows API function, so it should be link problem.D:\Temp\tccbyvc>tcc tcc.c
tcc: undefined symbol 'GetModuleHandleA'
tcc: undefined symbol 'LoadLibraryA'
tcc: undefined symbol 'GetProcAddress'
tcc: undefined symbol 'GetModuleFileNameA'If anyone knows any hints, please tell me.Thank you very much,Donald
_______________________________________________
Tinycc-devel mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/tinycc-devel
_______________________________________________ Tinycc-devel mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/tinycc-devel
