gcc – POFTUT

What Is GCC (GNU Compiler Collection)?

What Is GCC (GNU Compiler Collection)?

The GNU Compiler Collection or GCC is a compiler and related auxiliary tools which are used to compile different programming languages into binary and related formats. GCC has been created and currently developed by the GNU Project. Also, the GCC name comes from the GNU as you have noticed. GCC is very popular in the … Read more

What Is LLVM? Getting Started with LLVM

What Is LLVM? Getting Started with LLVM

LLVM is a project which provides a collection of a modular compiler and toolchain software and technologies. The name “LLVM” is not an acronym that is different from other IT and Opensource projects. LLVM has started a research project at the University of Illinois in order to create a compiler and tool-chain which supports both … Read more

What Is The GNU Project?

What Is The GNU Project?

GNU or GNU is Not Unix is a project started by Richard Stallman in order to create free software in order to respect the user’s freedom. GNU Project provides different free software tools for computing. GNU mainly aims to create a free operating system and related tools but currently, Linux kernel is used for the … Read more

How To Use Linux ldd Command To Print Shared Libraries with Examples?

Shared libraries are used to provide functions to the commands and executable of the Linux. ldd command can be used to list currently used shared libraries of given executable file. Help Even ldd command is a simple command which provide some parameters this can be listed with the –help option like below. $ ldd –help … Read more

mmap Tutorial with Examples In C and C++ Programming Languages

As programmers we generally use malloc() , free() and similar functions in order to allocate memory. They are provided by glibc() library. The actual work is done by mmap() and munmap()which is a Linux systemcall. What Does mmap() Function? mmap() function or system call will create a mapping in the virtual meory of the current process.The address space consist of … Read more

How To Use GCC Compiler Options Like Optimization, Flags?

gcc is very popular compiler in Linux world. gcc provides interpreter and compiler for programming languages like C, C++, Java etc. In this tutorial we will examine popular compiler options like error, pre-processor, output, optimization etc. Example C Application Code During this tutorial we will use following simple example code. As we can see this code only … Read more

How To Download, Compile and Install Custom Linux Kernel Manually In Ubuntu, Debian, Mint, Kali, CentOS?

Linux is a Operating System kernel and user space applications will create different distributions like CentOS, Ubuntu, Mint, Kali around this kernel. Kernel can be downloaded freely and used without any license fee. In this tutorial we will learn how to download Linux Kernel from kernel.org and compiling with GCC . An the last step … Read more

Debug Applications with gdb Command In Linux

Debug Applications with gdb Command In Linux

gdb is the short form of GNU Debugger. A debugger is a tool used to search and find and get detailed information about bugs in application binaries. gdb is popular in the Linux community which is used by most of the IDE, Programming tools event in Android IDE’s. In this tutorial, we will look at how to … Read more

CMake Tutorial To Build and Compile In Linux

CMake Tutorial To Build and Compile In Linux

Binaries are created by building or compiling sources like C, C++, etc. In simple applications, we can build by using the compiler like GCC directly. But this is inconvenient if the application is big and has a lot of source code, configuration file, and build options. Developers generally prefer to build systems like make but … Read more

How To Install Tar.Gz or Tar.Bz2 Application Source Code?

As a systems administrator I generally use package managers to install software. But in some situations I can not use package manager because provided software version is old or do not compatible. In this situations how can I install new software from source code by compiling. Software source code can be get in different forms … Read more