Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Standard tools #769

Open
wants to merge 5 commits into
base: ghc-8.6
Choose a base branch
from
Open

Conversation

angerman
Copy link
Contributor

This is a stab at making ghcjs less reliant on custom tools/formats. The idea is that we can use ghcjs like any other hc with cabal. This can be see in the Makefile that is supposed to replace the custom Boot.hs, with minimal customization to the toolchains.

Changes to ghcjs's Archive/Linker logic allow us to use regular GNU and BSD archives. A lot of code for this has been lifted from the Ar module in ghc; which sadly can not be re-used as the
interfaces differ.

NOTE: This is supposed to be more of a proof-of-concept than anything tangible right now.

@angerman
Copy link
Contributor Author

Not sure why I can't turn this into a draft-pr.

@angerman
Copy link
Contributor Author

So far this is capable to compile at least

main = putStrLn "Hello ghcjs!"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant