Skip to content

Instantly share code, notes, and snippets.

View GnsP's full-sized avatar
👽
avant-garde

Ganesh Prasad GnsP

👽
avant-garde
View GitHub Profile
$ gcc --help
Usage: gcc [options] file...
Options:
-pass-exit-codes Exit with highest error code from a phase
--help Display this information
--target-help Display target specific command line options
--help={target|optimizers|warnings|params|[^]{joined|separate|undocumented}}[,...]
Display specific types of command line options
(Use '-v --help' to display command line options of sub-processes)
@GnsP
GnsP / gccTest.c
Last active August 29, 2015 14:15
// This is a simple C program to experiment with the GCC Compilation Steps
// It uses the #define directives below only to provide a good visualization
// of the preprocessing step.
// author : Ganesh Prasad (gnsp)
#define ONE 1
#define TWO 2
#define EXIT_OK 0
#define EXIT_FAILURE 1