forked from ghcjs/ghcjs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e80d9dc
commit 5ebfe2a
Showing
9 changed files
with
397 additions
and
101 deletions.
There are no files selected for viewing
Submodule ghc
updated
2168 files
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
# GHCJS-LD | ||
|
||
## Introduction | ||
|
||
This project implements a linker for GHCJS-style `.js_o` object files. Previously, this behaviour was achieved through invoking the GHCJS compiler. Now, we instead provide this stand-alone executable to link these object files so that GHC proper may absorb GHCJS as a cross-compilation target, allowing Cabal, etc, to invoke this in place of `ld`. | ||
|
||
## Installation | ||
|
||
Installation through Cabal: | ||
``` | ||
cabal install ghcjs-ld | ||
``` | ||
|
||
## Usage | ||
|
||
``` | ||
ghcjs-ld [options-and-inputs] | ||
``` | ||
|
||
Options: | ||
``` | ||
-v/--verbose: print linking logging/warnings | ||
-o/--output: set the output file (default "link-output.js") | ||
--debug/--prof: reduce renaming of output definition names | ||
--prof: setup the output code for profiling | ||
``` | ||
|
||
## Cabal's Usage | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -72,4 +72,6 @@ library | |
extra, | ||
transformers, | ||
directory, | ||
filepath | ||
filepath, | ||
time, | ||
multimap |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.