Sent: samedi 24 septembre 2016 06:25
To: tinycc-devel@nongnu.org
Subject: Re: [Tinycc-devel] Why is __LP64__ defined for targets for 32bits
targets?
I finally had time to investigate further.
Based on my understanding (with google help), here is the fix I propose:
/* TinyCC & gc
ne_symbol(s, "__PTRDIFF_TYPE__", "long");
tcc_define_symbol(s, "__ILP32__", NULL);
#endif
mob looks good on Windows 32 and 64, Linux x86_64, Linux arm and arm64. Can
you please review for other architectures/OS?
From: Christian Jullien [mailto:eli...@o
gned long");
tcc_define_symbol(s, "__PTRDIFF_TYPE__", "long");
+tcc_define_symbol(s, "__LP64__", NULL);
#endif
From: Tinycc-devel [mailto:tinycc-devel-bounces+eligis=orange...@nongnu.org]
On Behalf Of Christian Jullien
Sent: dimanche 18 septem
/* TinyCC & gcc defines */
#if defined TCC_TARGET_PE && defined TCC_TARGET_X86_64
tcc_define_symbol(s, "__SIZE_TYPE__", "unsigned long long");
tcc_define_symbol(s, "__PTRDIFF_TYPE__", "long long");
tcc_define_symbol(s, "__LLP64__", NULL);
#else
tcc_define_symbol(s, "__SIZE