Hi When looking at the gcc/gcc.c file, i noticed that some basic options were not added to notify the user of gcc to be able to use it and its essence. So due to this, i added some of the options like the -ansi option. This file contains some other options like the -w and -Q options. Thanks.
Index: gcc/gcc.c =================================================================== --- gcc/gcc.c (revision 208009) +++ gcc/gcc.c (working copy) @@ -3108,8 +3108,21 @@ fputs (_(" -specs=<file> Override built-in specs with the contents of <file>\n"), stdout); fputs (_(" -std=<standard> Assume that the input sources are for <standard>\n"), stdout); fputs (_("\ + -combine Compiling multiple source files telling the driver to pass\n\ + all the source files to the compiler at once (allowing IMA).\n\ + Currently, the only language supported is C.\n"), stdout); + fputs (_(" -ansi In C mode, support all ISO C90 programs. In C++ mode, \n\ + remove GNU extensions that conflict with ISO C++. Turns \n\ + off certain features of GCC that are incompatible with ISO C90 \n\ + of standard C++ such as 'asm' and 'typeof' keyword and predefined\n\ + macros such as 'unix' and 'var' that identify the type of system you are using.\n"), stdout); + fputs (_("\ --sysroot=<directory> Use <directory> as the root directory for headers\n\ and libraries\n"), stdout); + fputs (_(" -w Inhibit all warning messages.\n"), stdout); + fputs (_("\ + -Q Makes the compiler print out each function name as it is compiled,\n\ + and print some statistics about each pass when it finishes.\n"), stdout); fputs (_(" -B <directory> Add <directory> to the compiler's search paths\n"), stdout); fputs (_(" -v Display the programs invoked by the compiler\n"), stdout); fputs (_(" -### Like -v but options quoted and commands not executed\n"), stdout);