Linux Today: Linux News On Internet Time.
Search Linux Today
Linux News Sections:  Developer -  High Performance -  Infrastructure -  IT Management -  Security -  Storage -
Linux Today Navigation
LT Home
Contribute
Contribute
Link to Us
Linux Jobs


Top White Papers

  • Mobile apps may be a threat, but they don't have to be. Download this whitepaper to review the various considerations for defending mobile applications—from...
    Download

  • The exponential growth of data, along with virtualization, is bringing a disruptive level of complexity to your IT infrastructure. Having multiple point...
    Download

More on LinuxToday


Examining the Compilation Process. part 2.

Oct 22, 2008, 20:01 (0 Talkback[s])
(Other stories by Mike Diehl)

"Would you be surprised if executing ./hello resulted in “Hello World."?

"I didn't think so. So why would we take the simplest program possible and split it into two separate files? Well, because we can. And what we gain from doing it this way is that if we make a change to only one of the files, we don't have to recompile any of the files that didn't change; we simply re-link the already existing object files to the new object file that we created when we compiled the source file that we changed. This is where the make utility comes in handy as it keeps track of what needs to be recompiled based on what files have been changed since the last compilation."

Complete Story

Related Stories: