- Make commands for gcc and llvm-gcc version agnostic
- Do not hardcode the path of gcc and llvm-gcc
- Added '-nomain' parameter to add your own main routine, for more advanced uses (eg. adding classes)
ClosesHomebrew/homebrew#13483.
Signed-off-by: Misty De Meo <mistydemeo@gmail.com>