Programmation: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
== Comment rendre un programme executable? == | == Comment rendre un programme executable? == | ||
<pre>gcc -o prog_name | <pre>gcc -o prog_name prog_name.c</pre> | ||
<pre> | <pre> | ||
cd Desktop // | cd Desktop //Aller dans le répertoire Desktop | ||
ls -lrt // | ls -lrt //Lister le nom des programmes (List Reverse Time) | ||
gcc -o | gcc -o prog_name prog_name.c //Compilation et création de l'éxecutable | ||
</pre> | </pre> |
Latest revision as of 19:04, 28 April 2011
Comment rendre un programme executable?
gcc -o prog_name prog_name.c
cd Desktop //Aller dans le répertoire Desktop ls -lrt //Lister le nom des programmes (List Reverse Time) gcc -o prog_name prog_name.c //Compilation et création de l'éxecutable