diff options
Diffstat (limited to 'main.c')
| -rw-r--r-- | main.c | 18 |
1 files changed, 16 insertions, 2 deletions
@@ -1,6 +1,20 @@ // Compilation command: -// - release: gcc main.c -Wall -Werror -pedantic -O2 -m64 -lncursesw -o ttt -// - debug : gcc main.c -Wall -Werror -pedantic -g3 -m64 -lncursesw -o ttt -D DEBUG +// - release dynamics libs : gcc main.c -lncursesw -ltinfo -o ttt -Wall -Werror -pedantic -O2 -m64 -s +// - release static libs : gcc main.c -lncursesw -ltinfo -o ttt -Wall -Werror -pedantic -O2 -m64 -s -static-pie +// - debug : gcc main.c -lncursesw -ltinfo -o ttt -Wall -Werror -pedantic -g3 -m64 -D DEBUG +// +// Compiler flags: +// -l : libraries to link +// -o : output file name +// -Wall : TODO +// -Werror : TODO +// -pedantic : TODO +// -O : code optimization level +// -g : TODO +// -m64 : 64b architecture +// -D : defines for preprocessor +// -static-pie : link statically producing an position-independent executable +// // Usage hints: // - To change the app data path, overwride the environment variable HOME (USERPROFILE for windows users). |
