FYI:
1. Compiler settings:
--- cut here: begin --------------------------------------------------
Extension=.c
Description=C: Knud [Embarcadero Borland bcc 10.2]
Command=COMCPPBCC102.BAT &name& &ext& &fn& &drive& &path& &output&
Output=Don't Clear Screen or Prompt After Shell
-Error={^.#}:{[0-9]#}:{[0-9]#}: {warning}|{error}|{fatal error}: {.#$}
Error: Options=i
Error: Extra line (default empty line)=
-FileName=
FileName: Options=
FileName: Tag=1
-Line=
Line: Options=
Line: Tag=2
-Column=
Column: Options=
Column: Tag=3
-Message=
Message: Options=
Message: Tag=0
User Macro=
--- cut here: end ----------------------------------------------------
2. Create this batch file COMCPPBCC102.BAT and put it in your working TSE directory (all 1-liners)
(you will have to adapt the drive and the paths,
similar for C++, just create a new compiler entry
but change the 'extension=C++'
and use the same .BAT file)
---
--- cut here: begin --------------------------------------------------
@REM version 1.0.0.0.1
@REM [kn, ri, mo, 03-02-2025 18:57:19]
g:
cd \language\computer\cpp\embarcadero\borland\bcc102\bin\
del g:\language\computer\cpp\embarcadero\borland\bcc102\bin\%1.exe
@ECHO filename=%3 >%6
g:\language\computer\cpp\embarcadero\borland\bcc102\bin\bcc32c.exe -Ig:\language\computer\cpp\embarcadero\borland\bcc102\include -Lg:\language\computer\cpp\embarcadero\borland\bcc102\lib %3 >>%6 2>&1
@ECHO.
COPY "%6" c:\temp\dddoutput.txt
@ECHO.
copy g:\language\computer\cpp\embarcadero\borland\bcc102\bin\%1.exe %4:\%5\
@ECHO.
@PAUSE
g:
cd \language\computer\cpp\embarcadero\borland\bcc102\bin\
del g:\language\computer\cpp\embarcadero\borland\bcc102\bin\%1.exe
@ECHO filename=%3 >%6
g:\language\computer\cpp\embarcadero\borland\bcc102\bin\bcc32c.exe -Ig:\language\computer\cpp\embarcadero\borland\bcc102\include -Lg:\language\computer\cpp\embarcadero\borland\bcc102\lib %3 >>%6 2>&1
@ECHO.
COPY "%6" c:\temp\dddoutput.txt
@ECHO.
copy g:\language\computer\cpp\embarcadero\borland\bcc102\bin\%1.exe %4:\%5\
@ECHO.
@PAUSE
--- cut here: end ----------------------------------------------------
---
3. Load a C program into TSE
4. Choose this compiler from the list of compilers.
5. Run the compiler.
6. As usual you will see the error output (if any) in the lowest TSE window.
7. Tested successfully in TSE version 4.50 RC24
with friendly greetings
Knud van Eeden