
--
---
You received this message because you are subscribed to the Google Groups "SemWare TSE Pro text editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email to semware+u...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/semware/1390336382.541583.1789298429090%40mail.yahoo.com.
I have exclusively used JPSoft tcc.exe the last 25 years or so and never had any such issue with e.g. starting g32.exe.Only starting in this TSE for Microsoft Windows 4.50.27 the non-starting pops up, so the root cause is clearly in this 4.50.27,without any doubt.So it is something with1. the compiler used (I suppose CLang compiler, instead of the usual Borland compiler) .2. The compiler options used in that compiler when compiling.If CLang was used to compile, then the 4 following below options could be compiled in,if you e.g. send me the resulting g32.exe programs then I can test it further with OpenAI ChatGPT here.or use any version of JPSoft tcc.exe on your system and test it in there.===Note: this response below was fully generated by OpenAI ChatGPT version 5.6 Sol Light (Plus (paid)):I tested the 4.50.27 executable directly from both JPSoft TCC 36.52 and the older TCC 35.00.19. It fails identically in both: no editor window appears and no process remains.TSE 4.50.26 and earlier versions have always started directly from these TCC versions. The 4.50.27 executable starts correctly from Microsoft
cmd.exe.Moreover, this command entered inside TCC works:
C:\Windows\System32\cmd.exe /d /c g32notworking.exeTherefore, this is not a missing dependency or inherited-environment problem, and it is not a recent TCC regression. It is a compatibility problem introduced by the new 4.50.27 build configuration and exposed by TCC’s direct launch path.
Since TSE now builds with multiple compilers, could you provide equivalent Borland C, GCC, Microsoft C and Clang
g32.exetest builds? That would quickly identify whether the problem is Clang-specific or caused by shared linker options or startup changes.For the Clang build, please first test these settings independently:
- Disable
DYNAMIC_BASEonly.- Disable
NXCOMPATonly.- Disable both.
- Use four-byte stack alignment.
- Disable stack probing only as a diagnostic.
Binary comparison confirms that 4.50.27 newly enables
DYNAMIC_BASEandNXCOMPAT, adds a relocation section, changes the stack settings and imports many Universal CRT API-set DLLs. Changing one option per test build is necessary to identify the actual trigger.
The claim “TCC, not Clang” from the Google-generated response is not established. Your tests instead demonstrate that TSE’s new executable build is the changed side of the compatibility boundary. The multi-compiler builds should now make the cause comparatively straightforward to isolate.
TCC's internal hook manager can inadvertently choke on, causing the silent exit.cmd.exe accepts these natively, older or unpatched versions of TCC that intercept process launches can flag these hardened memory boundaries as invalid and forcibly terminate the execution thread without throwing a visible Windows crash dialog. [1]clang source.c -o g32.exe -Wl,-no-dynamicbase -Wl,-no-nxcompat
TCC believe it requires a separate window allocation or an external handler.clang source.c -o g32.exe -static -Xlinker /subsystem:console
g32.exe with all optimization and security layers rolled back to match a legacy toolchain layout:clang source.c -o g32.exe -O0 -Wl,-no-dynamicbase -Wl,-no-nxcompat -static
tcc.exe a 32-bit or 64-bit installation?clang-cl.exe)?TCC!.exe files, but specific compilation issues can simulate startup crashes depending on your setup.main() down to a single instruction (ret), causing the program to instantly terminate on startup without throwing an explicit error or printing any logs. [1] .exe can fail to launch. If the program cannot link to or find standard libraries (like the correct libstdc++ or libc++ headers), it will crash or terminate immediately on startup. [2, 3, 4, 5] clang-cl.exe) when compiling specific C++ code patterns utilizing std::unique_ptr or modules simultaneously on Windows runner systems. [6, 7] .exe from a command prompt?To view this discussion visit https://groups.google.com/d/msgid/semware/282321003.813280.1789400541128%40mail.yahoo.com.
To view this discussion visit https://groups.google.com/d/msgid/semware/CA%2BgEvka0qFs6i-0grsBVAX4k3w62o8hBAYE23ZXEuhaymx9Lsw%40mail.gmail.com.