![]() ![]() If you do not have Internet connectivity, just download the Waf executable file from the URL and copy it to one of the directories pointed by the environment variable PATH, as mentioned earlier. This command gives read, write and execute permissions to the owner, and gives read and execute permissions for the group and others. In this case, the command ‘ chmod 755 waf’ or ‘ chmod 755 waf-1.9.6’ (depending on whether you have renamed the Waf executable or not) will be sufficient. Also remember to change the access permissions by using the command chmod. Execute the command ‘ echo $PATH’ to see the various directories searched by the Linux Shell for executables. This step is important because the Linux environment will search for executable files only in the directories pointed by the environment variable PATH and, in most cases, the current working directory will not be included. But remember to rename the file as waf and copy this file to any one of the directories pointed by the PATH environment variable of Linux to make matters easy. You can run this executable file with the command ‘./ waf-1.9.6’. The command wget will download the Waf executable file to your current working directory. You can use the following Linux command wget to download the Waf executable file if you have Internet connectivity: But having Waf in your system is very simple because you only need to download the Waf executable file. For example, Debian Linux does not have Waf included in it by default. Hence, it is overlooked by many of the Linux distributions. ![]() The associated documentation of Waf is under the Creative Commons Licence, and prohibits commercial reuse and modification. It is open source software and its source code is released under the new BSD licence. Waf is developed using Python and maintained by Thomas Nagy. I used Make for a long time till I decided to explore Waf, a relatively new build automation tool, which I found to be excellent. The most popular build automation tool is Make, which dates back to the 1970s. And nowadays, the most popular executable file format in Linux is the Executable and Linkable Format (ELF).Īpache Ant, Bazel, BitBake, CMake, Make, Waf, etc, are some popular build automation tools. The a.out file associated with C programs is actually an old executable file format in Linux. It helps to build the executable file from hundreds of program files by automating the build process.Īn executable file or a binary file contains instructions that cause a computer to perform certain tasks. In such a situation, a build automation tool is quite handy. Such a tedious process to compile the project might make you overlook some minor errors. You’d be forced to execute hundreds of commands manually. But what if you are frequently making changes to a particular file, and the functions used in it are also used by all the other program files? Then you’d have to recompile all the 100 files again and again. It is possible to compile all these files manually to generate an executable file. Let us assume you are working on a large software project which is divided into a 100 program files. Written in Python, it is maintained by Thomas Nagy.īuild automation tools are used for automatic compilation and installation of computer software. Waf is a relatively new build automation tool that is open source and platform-independent. ![]() Build automation automates the process of a software build and removes the drudgery of having to do it all manually.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |