[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Tinycc-devel] 2 corrections to tinycc v0.9.27

From: junk
Subject: [Tinycc-devel] 2 corrections to tinycc v0.9.27
Date: Tue, 13 Feb 2018 13:00:56 +0100
User-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0


Thanks for releasing a new version and specially
for adding the full winapi.
shlobj.h was missing before this useful addition.

So I finally was able to compile, link and run
my little project with tcc

However, I had to make 2 modifications to TCC for it to work:

1) GetConsoleWindow is missing in kernel32.def
    (just add the missing line)

2) On windows 10 x64, I installed tcc-0.9.27-win64-bin.zip

    compilation was fine, but link complained that _wstat64i32 was
    undefined. In my code, I call _wstat().

    I had to modify sys/stat.h in tcc, I replaced line 86 with:
    #define _wstat _wstat64 /* was _wstat64i32 */
    ( this may not be the right modification for every platform though )

I hope you'll be able to integrate these corrections.
Don't hesitate to ask if I can help.

Thanks again, and keep up the good work.

guillaume vareille

reply via email to

[Prev in Thread] Current Thread [Next in Thread]