Language Selection

English French German Italian Portuguese Spanish

Using Gnulib to improve software portability

Filed under

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

6 smart settings to make your Android phone anticipate your needs

There's no denying that our smartphones have made our lives so much easier, putting our contacts and schedules, our driving directions, the whole internet, right at our fingertips. But if you're using an Android phone you might be leaving even more convenience on the table. There are a bunch of super-smart settings in Nougat and Google Now that’ll make your Android device feel like it’s 10 steps ahead of you. Your Android phone can be proactively telling you how long it’ll take to get to work in the morning, and nudging you when your favorite team is about to take the field. Your device can keep itself unlocked whenever it’s on you, and those snapshots you just took can automatically be arranged into beautiful collages. Battery running low? Android can know to dial down background activity to keep your phone alive. And if you love the idea of asking Google questions without ever touching your phone, you can train your phone to do that, too. Read more

Android and Tizen Leftovers

Update: Convictions Upheld, Sentences Extended In Romanian Microsoft Bribery Trial

According to the blog post, the trial ended on October 3rd, and investigators found that more than 100 people, including former ministers, the mayor of Bucharest, and various businessmen were involved in this latest corruption scandal involving Microsoft. More than 20 million euros were paid by Microsoft there as bribes. [...] These bribery convictions are just the tip of the iceberg. Multiple news outlets are reporting on investigations of bribery in other countries as well as separate investigations by the US Department of Justice and the US Securities And Exchange Commission. Read more

Red Hat News