Ok got it! I missed to set DLLSUF=.dll which solves this issue!
C. From: Christian Jullien [mailto:eli...@orange.fr] Sent: Saturday, February 08, 2020 08:40 To: 'tinycc-devel@nongnu.org' Subject: [this one is for Grischka] Windows error with 113_btdll.c Hi Grischka, Sorry I should have detect this issue sooner. Your 113_btdll.c test produces this error: Test: 113_btdll... a1:1: error: unrecognized character \x00 --- 113_btdll.expect 2020-01-19 11:46:07.000000000 +0100 +++ 113_btdll.output 1970-01-01 01:00:00.000000000 +0100 @@ -1,6 +0,0 @@ -113_btdll.c:12: at f_1: hello from f_1() / 113_btdll.c:12 -113_btdll.c:37: by main -113_btdll.c:20: at f_2: hello from f_2() / 113_btdll.c:20 -113_btdll.c:38: by main -113_btdll.c:31: at f_main: hello from f_main() / 113_btdll.c:31 -113_btdll.c:39: by main The tcc.exe used here is a Windows native reproducible build (i.e. Windows tcc.exe built with Windows tcc.exe) It happens while doing: /cygdrive/f/tinycc-d79e1de/tests/tests2$ ../../win32/tcc -bt 113_btdll.c -shared -D DLL=1 -o a1 /cygdrive/f/tinycc-d79e1de/tests/tests2$ ../../win32/tcc -bt 113_btdll.c -shared -D DLL=2 -o a2 /cygdrive/f/tinycc-d79e1de/tests/tests2$ ../../win32/tcc -bt a1 a2 -Wl,-rpath=. 113_btdll.c -o a.exe a1:1: error: unrecognized character \x00
_______________________________________________ Tinycc-devel mailing list Tinycc-devel@nongnu.org https://lists.nongnu.org/mailman/listinfo/tinycc-devel