![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
On Unix systems, one representative way to initiate compilation and
linking is as follows, assuming that your program is in a file named
average.c
:
cc -o average average.c
Such an instruction to the operating system has several parts:
cc
means use a program that includes the C compiler and linker.
average.c
means work on the source-code file named
average.c
.
-o average
means put
the executable code in a file
named average
.