Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
Glasgow Haskell Compiler
GHC
Commits
e93f583d
Commit
e93f583d
authored
Jul 08, 2017
by
Zhen Zhang
Committed by
Andrey Mokhov
Jul 08, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update README.md (
#352
)
parent
d8e17590
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
3 deletions
+11
-3
README.md
README.md
+11
-3
No files found.
README.md
View file @
e93f583d
...
...
@@ -106,6 +106,14 @@ are still up-to-date.
To build a GHC source distribution tarball, run Hadrian with the
`sdist-ghc`
target.
#### Installation
To build and install GHC artifacts, run the
`install`
target.
By default, the artifacts will be installed to
`<prefix>`
on your system. For example,
`ghc`
will be installed to
`/usr/local/bin`
. By modifying
`defaultDestDir`
in
`UserSettings.hs`
,
you can install things to non-system path
`DESTDIR/<prefix>`
instead.
#### Testing
*
`build validate`
runs GHC tests by simply executing
`make fast`
in
`testsuite/tests`
...
...
@@ -122,12 +130,12 @@ zero (see [#197][test-issue]).
Current limitations
-------------------
The new build system still lacks many important features:
*
There is currently no support for the
`dynamic`
build way:
[
#4
][
dynamic-issue
]
.
*
Validation is not implemented:
[
#187
][
validation-issue
]
.
*
Dynamic linking on Windows is not supported
[
#343
][
dynamic-windows-issue
]
.
*
Only HTML Haddock documentation is supported (use
`--haddock`
flag).
*
Not all modes of the old build system are supported, e.g.
[
#250
][
freeze-issue
]
.
*
Cross-compilation is not implemented:
[
#177
][
cross-compilation-issue
]
.
*
There is no support for
installation or
binary distribution:
[
#219
][
install-issue
]
.
*
There is no support for binary distribution:
[
#219
][
install-issue
]
.
Check out [milestones] to see when we hope to resolve the above limitations.
...
...
@@ -162,8 +170,8 @@ helped me endure and enjoy the project.
[
windows-build
]:
https://github.com/snowleopard/hadrian/blob/master/doc/windows.md
[
ghc-split-objs-bug
]:
https://ghc.haskell.org/trac/ghc/ticket/11315
[
test-issue
]:
https://github.com/snowleopard/hadrian/issues/197
[
dynamic-issue
]:
https://github.com/snowleopard/hadrian/issues/4
[
validation-issue
]:
https://github.com/snowleopard/hadrian/issues/187
[
dynamic-windows-issue
]:
https://github.com/snowleopard/hadrian/issues/343
[
freeze-issue
]:
https://github.com/snowleopard/hadrian/issues/250
[
cross-compilation-issue
]:
https://github.com/snowleopard/hadrian/issues/177
[
install-issue
]:
https://github.com/snowleopard/hadrian/issues/219
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment