glibc_version_header | Build portable Linux binaries without using an ancient

 by   wheybags C++ Version: 0.1 License: MIT

kandi X-RAY | glibc_version_header Summary

kandi X-RAY | glibc_version_header Summary

glibc_version_header is a C++ library. glibc_version_header has no bugs, it has no vulnerabilities, it has a Permissive License and it has low support. You can download it from GitHub.

Essentially, this is a tool that allows you to specify the glibc version that you want to link against, regardless of what version is installed on your machine. This allows you to make portable Linux binaries, without having to build your binaries on an ancient distro (which is the current standard practice).
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              glibc_version_header has a low active ecosystem.
              It has 623 star(s) with 53 fork(s). There are 25 watchers for this library.
              OutlinedDot
              It had no major release in the last 12 months.
              There are 15 open issues and 8 have been closed. On average issues are closed in 15 days. There are 2 open pull requests and 0 closed requests.
              It has a neutral sentiment in the developer community.
              The latest version of glibc_version_header is 0.1

            kandi-Quality Quality

              glibc_version_header has 0 bugs and 0 code smells.

            kandi-Security Security

              glibc_version_header has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              glibc_version_header code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              glibc_version_header is licensed under the MIT License. This license is Permissive.
              Permissive licenses have the least restrictions, and you can use them in most projects.

            kandi-Reuse Reuse

              glibc_version_header releases are available to install and integrate.
              Installation instructions are not available. Examples and code snippets are available.

            Top functions reviewed by kandi - BETA

            kandi's functional review helps you automatically verify the functionalities of the libraries and avoid rework.
            Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of glibc_version_header
            Get all kandi verified functions for this library.

            glibc_version_header Key Features

            No Key Features are available at this moment for glibc_version_header.

            glibc_version_header Examples and Code Snippets

            No Code Snippets are available at this moment for glibc_version_header.

            Community Discussions

            Trending Discussions on glibc_version_header

            QUESTION

            Create portable and static fortran linux binary?
            Asked 2019-Jan-16 at 21:38

            I'm investigating options to create portable static Linux binaries from Fortran code (in the sense that the binaries should be able to run on both any new and resonably old Linux distros). If I understand correctly (extrapolating from C) the main issue for portability is that glibc is forwards but not backwards compatible (that is static binaries created on old distros will work on newer but not vice versa). This at least seems to work in my so far limited tests (with one caveat that use of Scratch files causes segfaults running on newer distros in some cases).

            It seems at least in C that one can avoid compiling on old distros by adding legacy glibc headers, as described in

            https://github.com/wheybags/glibc_version_header

            This specific method does not work on Fortran code and compilers, but I would like to know if anyone knows of a similar approach (or more specifically what might be needed to create portable Fortran binaries, is an old glibc enough or must one also use old libfortran etc.)?

            ...

            ANSWER

            Answered 2018-Aug-29 at 12:41

            I suggest to use the manylinux docker images as a starting point.

            In short: manylinux is a "platform definition" to distribute binary wheels (Python packages that may contain compiled code) that run on most current linux systems. The need for manylinux and its definition can be found as Python Enhancement Proposal 513

            Their images are based on CentOS 5 and include all the basic development tools, including gfortran. The process for you would be (I did not test and it may require minor adjustments):

            1. Run the docker image from https://github.com/pypa/manylinux
            2. Compile your code with the flag -static-libgfortran

            The possible tweak is in the situation that they don't ship the static version of libgfortran in which case you could add it here.

            The resulting code should run on most currently-used linux systems.

            Source https://stackoverflow.com/questions/52053356

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install glibc_version_header

            You can download it from GitHub.

            Support

            For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/wheybags/glibc_version_header.git

          • CLI

            gh repo clone wheybags/glibc_version_header

          • sshUrl

            git@github.com:wheybags/glibc_version_header.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link