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

Yocto-on-i.MX6UL gateway serves up I2C and SPI on a DB9 port

Axiomtek’s compact “IFB125” DIN-rail IoT gateway runs Yocto Linux on an i.MX6 UL SoC with dual LANs, mini-PCIe expansion, extended temperature and vibration resistance, COM and USB ports, and a DB9 port that supports both SPI and I2C. Axiomtek has released a minor variation on its IFB122 IoT gateway. Like the IDB122, the new IFB125 runs Yocto Project code with Linux 3.14.52 on NXP’s 528MHz Cortex-A7 based i.MX6 UltraLight (UL) SoC. The headless gateway is designed for remote control and remote monitoring management applications such as unmanned control room, industrial automation, automatic parking lot, and traffic cabinets. Read more Also: Display-oriented eNUC SBC runs on Apollo Lake

Fedora Elections

Linux Foundation and Verizon

  • Verizon joins the Linux Foundation's ONAP project
    Verizon has joined the Open Network Automation Platform (ONAP) project as a Platinum member, a move that reflects the service provider's desire to drive industry harmony around network virtualization and automation. ONAP brings together several global carriers and vendors to build an automation and orchestration platform to transform the service delivery lifecycle for network, cable and cloud providers.
  • Verizon Joins Linux Foundation's Open Network Automation Platform Project as Platinum Member
    Verizon and The Linux Foundation, the nonprofit organization enabling mass innovation through open source, announced today that Verizon has joined the Open Network Automation Platform (ONAP) project as a Platinum member. ONAP brings together the majority of global carriers and vendors to build an automation and orchestration platform to transform the service delivery lifecycle for network, cable and cloud providers. ONAP enables nearly 60 percent of the world's mobile subscribers.

Android Leftovers