Pelles C forum

C language => Tips & tricks => Topic started by: TimoVJL on October 09, 2016, 08:25:08 PM

Title: TinyCC x64 compiler
Post by: TimoVJL on October 09, 2016, 08:25:08 PM
TinyCC x64 compiler compiled with msvc 2015 and linked against msvcrt.dll.
Native x64 version.

An example to compile with it:
Code: [Select]
int printf(const char * restrict format, ...);
int main(void)
{
printf("Hello C\n");
return 0;
}
http://repo.or.cz/tinycc.git

EDIT -O1 optimized binaries in xtcc3264.zip
Title: Re: TinyCC x64 compiler
Post by: Vortex on October 09, 2016, 08:44:55 PM
Hi TimoVJL,

Thanks for attachment. I will check it. Kindly, if you have the time, could you please recompile and attach here the 32-bit version of TinyCC linked against msvcrt.dll? Thanks.
Title: Re: TinyCC x64 compiler
Post by: jcfuller on October 10, 2016, 01:58:30 PM
I have coded on and off with both the 32 and 64 versions of tcc for a number of years.
I am not sure what the url is/was for the 9.2.6 64 bit windows binary I have.

This version is HUGE in comparison to the one I have and it also produces larger exe's?

The biggest issue I have always had  is a limited 64 bit winapi include compared to the 32 bit version.

James