UTERMINAL
TERMINAL
NEXT
$V1$
PAUSE
PAGETURNER
ENCORE
BOX
COMMAND
GO
cc
SYNTAX
cc [options] ... file ...
FUNCTION
Invoke the c compiler
SOME OPTIONS
-c - suppress the link phase of compilation
-fsky - use the sky floating point option
-o output - name the final executable output
file output
-D name=def - define a name to the preprocessor
-U name - undefine a name to the preprocessor
"cc" - compiler invocation practice, - 1.3.3.0.2
Let us try using the cc command! The command to produce
a compiled object file from a source file called prog1.c
is cc -c prog1.c. Try typing that command.
$PROMPT$
That is correct!
You've got it on the 2nd try.
Good, you understand the concept.
Please type cc -c prog1.c
Please type cc -c prog1.c
I guess I must type this for you:
$PROMPT$
FORGET1
$ cc -c prog1.c
Observe the result on the terminal!
prog1.c
$PROMPT$