First, go to the Linux platform:
650) this.width=650; "style=" WIDTH:657PX;HEIGHT:369PX; "title=" capture. PNG1. PNG "src=" http://s3.51cto.com/wyfs02/M00/74/F4/wKioL1YvRAThvYnjAARbyYVj2YE392.jpg "width=" "height=" 666 "alt=" Wkiol1yvrathvynjaarbyyvj2ye392.jpg "/>
2. Double-click Terminal to enter:
650) this.width=650; "style=" width:679px;height:321px; "title=" capture. PNG2. PNG "src=" http://s3.51cto.com/wyfs02/M01/74/F4/wKioL1YvRH6DlooGAAI1VcJg7wQ100.jpg "width=" 1160 "height=" "alt=" Wkiol1yvrh6dloogaai1vcjg7wq100.jpg "/>
3. In the command Vim test.c, enter the new file test.c, and write a simple C language program yourself:
650) this.width=650; "style=" width:711px;height:374px; "title=" capture. PNG3. PNG "src=" http://s3.51cto.com/wyfs02/M01/74/F7/wKiom1YvR7KgRe1-AAKo4gRPx80583.jpg "width=" 942 "height=" 366 "alt=" Wkiom1yvr7kgre1-aako4grpx80583.jpg "/>
4. Enter the command separately:
ESC:W Q!
These 5 commands go back to the compile page, and if you want to modify it, you can enter the command vim test.c Enter, enter command i or a command
5. Input command gcc-s test.c preprocessing
6. Input command Gcc-c test.c pre-compilation processing completed
7. Enter the command./test
8. Program Operation:
650) this.width=650; "title=" capture. PNG6. PNG "src=" http://s3.51cto.com/wyfs02/M02/74/F7/wKiom1YvScnzfzifAALA8Dksd_I587.jpg "alt=" Wkiom1yvscnzfzifaala8dksd_i587.jpg "/>
Try to compile a program using GCC in a Linux environment and verify that the-E\-S\-C option