Tscope5
tscope5-0.6/00compilation.md
1 # Tscope5 compilation manual
2 
3 [TOC]
4 
5 # Shell commands {#shell}
6 
7 The shell commands are identical on Windows, Mac OS X and Linux.
8 
9 You can compile foo.c or foo.cpp with
10 
11  tcc foo.c
12 
13 If there are no errors in your code, this will produce `foo.exe` on Windows or `foo.out` on Mac OS X or Linux.
14 
15 You can run foo.exe or foo.out with
16 
17  ./foo.exe
18 
19 on Windows or
20 
21  ./foo.out
22 
23 on Mac OS X or Linux.
24 
25 If necessary, kill the program by pressing CTRL-C in the shell.
26 
27 CTRL-L clears the shell window.
28 
29 # Notepad++ shortcuts (Windows only) {#npp}
30 
31 - F8 will indent your code (a backup file ending in ~ is made in case things go wrong)
32 - F9 will compile your Tscope5 program
33 - CTRL-F9 will compile standard C programs
34 - F10 will run your program
35 - F11 will clean up your directory (remove the executable and backup)
36 
37