Home Segments Index Top Previous Next

662: Mainline

Once you have object files ready, you can link them into an executable program file with another command to the C compiler. In the following, the -o option instructs the C compiler to name the executable file analyze_trades:

cc -o analyze_trades main.o trades.o