aboutsummaryrefslogtreecommitdiff
path: root/win32/examples/demo.bat
blob: 3be48ae73c6bf03049523dfdfbc6296494f51f67 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
@echo off

@rem Compute 10th Fibonacci number
tcc fib.c
fib 10
del fib.exe

@rem hello_win.c
tcc hello_win.c
hello_win
del hello_win.exe

@rem 'Hello DLL' example
tcc -shared dll.c
tcc hello_dll.c dll.def
hello_dll
del hello_dll.exe dll.def dll.dll

@rem a console threaded program
tcc taxi_simulator.c
taxi_simulator
del taxi_simulator.exe