Revision [32099]
This is an old revision of compiling made by PageStep007 on 2018-09-19 14:26:39.
Compiling
Overview
There are many operating systems in use today in computing. Many programs are written for a particular system and are system specific. However more and more, programs are being written for various operating systems at the same time. These are cross-platform programs. It is therefore necessary to back up a little and first write the program with no system in mind, then have a system whereby the program will install on any of the systems. The 'no-system-in-mind' code, is 'Source Code'.The programmer writes in a text editor, in a code language of choice, and to be more efficient, often use code other people have written. These are often called libraries. The programmer may assume you already have the libraries on your system. This is particularly true if they are writing for a specific system, but they may use open source libraries. The source code package therefore gets to look like a huge jumble of files, but they include files which organize and check for you in the installation process.
Source code is the basic code for a program before taking into account what system it is going to run on. The program won't run unless the files are first organized in a language that your system can use and into the right directories where the program can find them. You need a program to do that for you. This program is called a 'compiler'.
Generally Puppy systems don't come with a program to make that happen. You need a compiling program to do that, for example devx_slacko_5.7.0.sfs. Different code writers have different procedures in compiling. So you need to know what method they use to know which commands to use.Usually you need to do the compiling process through a terminal (console) with typed commands such as cmake, make, install, etc. You need to download a compiler which is sometimes specific to your particular puppy.
This compiling is done from the console /terminal/Shell.