Re: [Tinycc-devel] Newest TCC builds broken on legacy Windows versions on GCC 4.5.2

2024-02-25 Thread Eric Raible
If build with: -DCONFIG_RUNMEM_ALIGNED=0 I'm hoping you'd be good to go. On linux one would: ./configure --extra-cflags=-DCONFIG_RUNMEM_ALIGNED=0 On windows I'm not sure, but perhaps augmenting the lines in win32/build-tcc.bat to look like this would do the same: set D32=-DTCC_TARGET_PE

Re: [Tinycc-devel] Newest TCC builds broken on legacy Windows versions on GCC 4.5.2

2024-02-25 Thread grischka via Tinycc-devel
On 25.02.2024 11:02, Eric Raible wrote: If build with: -DCONFIG_RUNMEM_ALIGNED=0 I'm hoping you'd be good to go. Don't mind, I reverted the usage of those "more recent" system features (as in memalign() & gettid()). Simpler code, less problems ... -- grischka On linux one would:

Re: [Tinycc-devel] Newest TCC builds broken on legacy Windows versions on GCC 4.5.2

2024-02-25 Thread Eric Raible
FWIW I'm happy about that revert. But that being the case, wouldn't we also want: diff --git a/tccrun.c b/tccrun.cindex 94c61ceb..531f5cc7 100644--- a/tccrun.c+++ b/tccrun.c@@ -91,17 +91,6 @@ static void *win64_add_function_table(TCCState *s1); static void win64_del_function_table(void *);