Code Monkey home page Code Monkey logo

Comments (8)

3noch avatar 3noch commented on September 15, 2024

Check out some more recent docs: https://downloads.haskell.org/~ghc/latest/docs/html/users_guide/win32-dlls.html

I've never built a DLL that dynamically links against the RTS and base, however.

from minghc.

3noch avatar 3noch commented on September 15, 2024

Do you plan to give this DLL to customers/consumers?

from minghc.

ndmitchell avatar ndmitchell commented on September 15, 2024

I believe the base package ships with shared libs, so no need to do anything for them. You have zero chance of compiling base yourself anyway :)

from minghc.

bdesham avatar bdesham commented on September 15, 2024

Oh, I had seen that section of the GHC manual before, but I didn’t pay attention to the version numbers and I assumed that that was a separate section from what I had linked. OK, so I should just be able to add -shared to the ghc-options in my .cabal file.

This DLL will be shipped alongside an executable, so no, customers will not use it directly.

from minghc.

3noch avatar 3noch commented on September 15, 2024

If it's proprietary you might want to seriously consider using a GHC that doesn't use integer-gmp which is LPGL. See commercialhaskell/stack#399

from minghc.

bdesham avatar bdesham commented on September 15, 2024

@3noch Thanks for the tip!

from minghc.

3noch avatar 3noch commented on September 15, 2024

@ndmitchell I have several builds of GHC using integer-simple but no good place to host them. Any ideas? They aren't integrated with MinGHC (yet).

from minghc.

ndmitchell avatar ndmitchell commented on September 15, 2024

@3noch I would talk to GHC HQ, they are probably a good set of people to host them. Alternatively, @snoyberg and FP Complete might want to host them. Then again, maybe they are part of the MinGHC distro?

from minghc.

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.