How Do You Compile A C Program Using The GNU Compiler (GCC)?
• Open up a terminal window.’; } s += “”; document.write(s); return; } google_ad_channel = ‘+7733764704+1640266093+9911500640+7416705818+8962074949+8941458308+6876289738+7122150828’ + xchannels + gchans; google_ad_client = “pub-9543332082073187”; google_ad_output = ‘js’; google_ad_type = ‘text’; google_feedback = ‘on’; google_ad_region = “test”; google_ad_format = ‘250x250_as’; //–> • Type “gcc –version” into the terminal. If the command is not found, it is likely that GCC isn’t installed. • Install GCC if needed, by referring to the GCC website installation procedures at http://gcc.gnu.org/install/ (This takes some familiarity with GNU/linux which is not covered in this article) • Go to the directory where your .c program files are located. • To compile a single source file, type: gcc -o outputfile file1.c • To compile multiple files, type: gcc -o outputfile file1.c file2.c file3.c • To compile with more error checking using the -Wall tag: gcc -Wall -o outputfile file1.c • To compil