How do you compile a program in Linux?

Ẽm Thư

New member
How do you compile a program in Linux?
Answer
This document shows how to compile and run a C program on Ubuntu Linux using the gcc compiler.
  1. Open up a terminal. Search for the terminal application in the Dash tool (located as the topmost item in the Launcher). …
  2. Use a text editor to create the C source code. Type the command. …
  3. Compile the program. …
  4. Execute the program.
 

Tìm kiếm

Back
Top