Skip to content
This repository has been archived by the owner on Aug 2, 2020. It is now read-only.

Implement dynamic way on Windows #343

Open
snowleopard opened this issue Jul 4, 2017 · 11 comments
Open

Implement dynamic way on Windows #343

snowleopard opened this issue Jul 4, 2017 · 11 comments

Comments

@snowleopard
Copy link
Owner

Thanks to @izgzhen we now have dynamic way working on Linux and OSX (#4). But Windows is still not supported. We'll track the progress here.

Presumably this is not high priority; do let me know otherwise.

There is some ongoing work in GHC on dynamic linking for Windows: https://phabricator.haskell.org/D2592

@snowleopard
Copy link
Owner Author

Note that gen-dll package will need to be added to make this work.

See #404 and https://phabricator.haskell.org/D3883.

@Mistuke
Copy link
Contributor

Mistuke commented Oct 2, 2017

@snowleopard I'm slowly merging in the rest of the stuff for dynamic way on Windows, if it's easier for you I would be fine with also doing the changes for Hadrian. If you have any preferences on how it should be done let me know. I know you wanted the tool as a Haskell program so presumably you don't need to call out to a separate program.

@snowleopard
Copy link
Owner Author

@Mistuke It would be great if you could also translate your changes into Hadrian! This will definitely save us a lot of time. I'm fine if the first version calls out into a separate script if that's more convenient for you. We can always rewrite it in Haskell later.

I'll be happy to review the PR and help in any other way!

@Mistuke
Copy link
Contributor

Mistuke commented Oct 2, 2017

Alright then :), I'll make sure to keep Hadrian in sync with the make changes.

@snowleopard
Copy link
Owner Author

Great, thanks! 🎉

@alpmestan
Copy link
Collaborator

What's the current status on this, @Mistuke ? Do we have the necessary pieces to support generating .dlls on Windows?

@Mistuke
Copy link
Contributor

Mistuke commented Sep 18, 2018

It's still on my list but has slipped behind some more urgent work. gen-dll solves the most urgent problem but I still need to work out some ABI issues. however the linker, I/O manager and string merging have been taking the majority of my time.

@alpmestan
Copy link
Collaborator

No worries, I just wanted to know whether we had everything needed for me to tackle the hadrian side or not. Just ping us when it's all there :-)

@XVilka
Copy link

XVilka commented Nov 22, 2019

Sorry for the annoyance, but were there any updates regarding this one?

@izgzhen
Copy link
Collaborator

izgzhen commented Nov 22, 2019

Sorry for the annoyance, but were there any updates regarding this one?

While I am not an active contributor now, I believe that since the merge of Hadrian to GHC master, related issues are tracked in https://gitlab.haskell.org/ghc/ghc/issues.

@snowleopard
Copy link
Owner Author

@XVilka Indeed, I keep this repository mostly for historical/documentation purposes only. If Hadrian is missing any features that are important for you (such as dynamic linking on Windows), it would be best if you open a ticket on GitLab and describe the desired functionality.

# for free to subscribe to this conversation on GitHub. Already have an account? #.
Projects
None yet
Development

No branches or pull requests

5 participants