Language Selection

English French German Italian Portuguese Spanish

Using Gnulib to improve software portability

Filed under
HowTos

Many, if not most, free and open source software projects are developed primarily on Linux-based systems using the GNU C Library (glibc). Projects that use glibc are likely to depend on functions that are not available on systems that use different C libraries, such as the different BSD flavors. When packages are built on systems that don't use glibc they often fail, because the other C libraries are missing functions found in glibc. The GNU Portability Library can help developers with cross-platform programming needs.

In the past there were many different libraries, such as publib, that tried to provide alternatives to the functions that are missing in the main C library. Unfortunately, handling compatibility libraries proved to be difficult. The additional libraries would require additional tests when running configuration scripts prior to compilation, and add dependencies for non-glibc systems.

As the number of new functions provided by the glibc increased, the GNU project started looking at the requirements for portability of programs on operating systems based on different libraries, and eventually created the GNU Portability Library (Gnulib) project.

Full Article.

More in Tux Machines

Linus Torvalds: "I Hope AVX512 Dies A Painful Death"

Linux creator Linus Torvalds had some choice words today on Advanced Vector Extensions 512 (AVX-512) found on select Intel processors. In a mailing list discussion stemming from the Phoronix article this week on the compiler instructions Intel is enabling for Alder Lake (and Sapphire Rapids), Linus Torvalds chimed in. The Alder Lake instructions being flipped on in GCC right now make no mention of AVX-512 but only AVX2 and others, likely due to Intel pursuing the subset supported by both the small and large cores in this new hybrid design being pursued. Read more Also: The Linux Team Approves New Neutral Terminology background on AVX-512

Top 5 Open Source Video Conferencing Tools for Remote Working and Online Meetings

Working remote and looking for an open source video conferencing solution for hosting online meeting? Here are some of the best tools you can use. Read more

How to Enable, Disable Keyboard, Mouse and Touch Devices via Terminal

You can do various quick configuration changes such as to enable, disable devices using Xinput via Terminal in Linux in general. Here’s how. Read more

Android Leftovers