在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称(OpenSource Name):ghcjs/ghcjs开源软件地址(OpenSource Url):https://github.com/ghcjs/ghcjs开源编程语言(OpenSource Language):Haskell 61.9%开源软件介绍(OpenSource Introduction):IntroductionGHCJS is a Haskell to JavaScript compiler that uses the GHC API. Quick Start - Developing GHCJSGHCJS contains a library, The repository has several submodules and some files must be generated before the package can be installed. prerequisitesGHCYou need the same major version of GHC as the version of the GHCJS branch you're building. cabal-installcabal-install 3.0 is supported emscripten emsdkGHCJS uses a C toolchain, mostly for build system related tasks like the C preprocessor, Autoconf scripts and tools like Please follow the installation instructions at https://emscripten.org/docs/getting_started/index.html GHCJS requires the "upstream" emscripten backend, which is the default now. The earlier "fastcomp" backend will not work. getting and preparing the source tree
building the compilerGHCJS depends on a few "local" packages in the source tree. You can use
Cabal new-installAfter the source tree has been prepared, the package can be installed. You may want ensure that binaries of earlier versions are overwritten:
At the time of writing,
v1 style Cabal sandboxv1 style cabal sandboxes are also supported if you want to build with a Cabal sandbox, use the
stackor you can use stack:
Booting GHCJSThe
GHCJS executables and library pathsAfter booting, you can add the directory containing the GHCJS binaries to
your executable PATH. The You can also create a symbolic link for the Generating a source distributionif you work on boot packages that need some for an upstream library,
make sure to update the patches in
then regenerate the packages
|
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论