GithubHelp home page GithubHelp logo

Build failure with MinGW about lowdown HOT 3 OPEN

HuangShumin avatar HuangShumin commented on July 28, 2024
Build failure with MinGW

from lowdown.

Comments (3)

Ericson2314 avatar Ericson2314 commented on July 28, 2024 1

I would also appreciate this. In https://github.com/NixOS/nix/blob/8e865f3aba526394ca333efe7258bd8db0050fbb/package.nix#L216 I had to drop this one dep for Nix, losing much functionality. I think Lowdown itself is quite naturally portable, being mainly pure functions, but the "bsd.lv" shared code unfortunately is not because it is checking for various features / using various headers that lowdown itself doesn't actually need.

from lowdown.

HuangShumin avatar HuangShumin commented on July 28, 2024 1

I found most parts of compats.c is not portable. Maybe we need a refact for this one.

from lowdown.

WxNzEMof avatar WxNzEMof commented on July 28, 2024

It looks like there is a lot of platform-specific code in compats.c and configure which is actually not used by lowdown.

It seems to be inherited from the oconfigure project, which is a "configuration script for portable, OpenBSD-oriented systems". I don't know if MinGW support would be within that project's scope, but if they would consider supporting it, then maybe it could be upstreamed there.

Otherwise, perhaps lowdown might consider moving away from oconfigure, and to a more cross-platform build/configuration system, such as CMake, meson, or even GNU Autotools?

from lowdown.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.