Ask your own question, for FREE!
Computer Science 7 Online
OpenStudy (anonymous):

can any1 help me with gcc? :-/ gcc -g -O0 -Wall infilename.c -o outfilename.o wat are infile and outfile exactly? .c and .exe??

OpenStudy (nick67):

@A.Avinash_Goutham excerpt from gcc man (much more from console): -g Produce debugging information in the operating system's native format (stabs, COFF, XCOFF, or DWARF 2). GDB can work with this debugging information. -O0 Reduce compilation time and make debugging produce the expected results. This is the default. -Wall This enables all the warnings about constructions that some users consider questionable, and that are easy to avoid (or modify to prevent the warning), even in conjunction with macros. This also enables some language-specific warnings described in C++ Dialect Options and Objective-C and Objective-C++ Dialect Options. file.c C source code which must be preprocessed -o file Place output in file file. This applies regardless to whatever sort of output is being produced, whether it be an executable file, an object file, an assembler file or preprocessed C code. If -o is not specified, the default is to put an executable file in a.out, the object file for source.suffix in source.o, its assembler file in source.s, a precompiled header file in source.suffix.gch, and all preprocessed C source on standard output.

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!