Programmation: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
(5 intermediate revisions by 4 users 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> | |||
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 | |||
</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