Compile source code - and solve problems | Linux Today

Compile source code – and solve problems

Written By
Web Webster
Web Webster
Mar 15, 2009

“If you haven’t even glimpsed at a chunk of source code before,
you may be perplexed by some of the terminology in use here, so
let’s clarify the terms and processes. Compiling is the process of
converting human-readable source code – a software recipe that
could be written in any high-level programming language – into the
binary instructions used by a specific computer’s processor.

“For the most popular programming languages, C and C++, the GNU
Compiler Collection (GCC) does the hard work of converting the
source code into a binary executable file. It reads the source
files, translating the C or C++ code listing into machine code
instructions for your CPU.

“Different CPU families have different types of instructions;
for instance, if you compile an app’s source code to run on an
Intel processor, the resulting program won’t run on a PowerPC. You
need to compile it for each type of processor on which it will be
used.

“Note that for interpreted languages, such as Python, Perl and
Ruby, each line of the source code is translated on the fly. With
those languages, there is no compilation process – the language
interpreter steps through the program line by line.”


Complete Story

Web Webster

Web Webster

Web Webster has more than 20 years of writing and editorial experience in the tech sector. He’s written and edited news, demand generation, user-focused, and thought leadership content for business software solutions, consumer tech, and Linux Today, he edits and writes for a portfolio of tech industry news and analysis websites including webopedia.com, and DatabaseJournal.com.

Linux Today Logo

LinuxToday is a trusted, contributor-driven news resource supporting all types of Linux users. Our thriving international community engages with us through social media and frequent content contributions aimed at solving problems ranging from personal computing to enterprise-level IT operations. LinuxToday serves as a home for a community that struggles to find comparable information elsewhere on the web.

Property of TechnologyAdvice. © 2026 TechnologyAdvice. All Rights Reserved

Advertiser Disclosure: Some of the products that appear on this site are from companies from which TechnologyAdvice receives compensation. This compensation may impact how and where products appear on this site including, for example, the order in which they appear. TechnologyAdvice does not include all companies or all types of products available in the marketplace.