Newbie's Linux Manual: How Do I Create, Compile And Run a C Program?: "Here's a detailed discussion of the line above:
1. gcc (GNU C Compiler) is passed...
2. ...-o which means give the executable the name that follows (i.e. myprog)...
3. ...and the program to compile (referred to as the 'source code') is firstprog.c.
- 5 -
To run the program, enter:
./myprog"
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment