... | @@ -90,10 +90,19 @@ curl <version-number> (x86_64-w64-mingw32) |
... | @@ -90,10 +90,19 @@ curl <version-number> (x86_64-w64-mingw32) |
|
```
|
|
```
|
|
|
|
|
|
|
|
|
|
If it doesn't (e.g., `curl <version-number> (x86_64-pc-msys)` corresponds to the MSYS2 `curl`), you have nothing to worry about. If it does, you have two options:
|
|
If it doesn't (e.g., `curl <version-number> (x86_64-pc-msys)` corresponds to the MSYS2 `curl`), you have nothing to worry about. If it does, you have some options:
|
|
|
|
|
|
|
|
1. You can alias the MSYS2 version of `curl` by adding the line:
|
|
|
|
|
|
|
|
```wiki
|
|
|
|
alias curl='/usr/bin/curl'
|
|
|
|
```
|
|
|
|
|
|
|
|
>
|
|
|
|
> To your `~/.bashrc` file.
|
|
|
|
|
|
1. You can temporarily uninstall the 64-bit MinGW-w64 version of `curl` with `pacman -R mingw-w64-x86_64-curl` before building GHC. (You can then reinstall it later with `pacman -S mingw-w64-x86_64-curl`.)
|
|
1. You can temporarily uninstall the 64-bit MinGW-w64 version of `curl` with `pacman -R mingw-w64-x86_64-curl` before building GHC. (You can then reinstall it later with `pacman -S mingw-w64-x86_64-curl`.)
|
|
1. As a workaround, you can run:
|
|
1. If you really want to use the 64-bit MinGW-w64 version of `curl` to install GHC, you can with a little extra effort. As a workaround, you can run:
|
|
|
|
|
|
```wiki
|
|
```wiki
|
|
mkdir -p ghc-tarballs/mingw-w64/x86_64
|
|
mkdir -p ghc-tarballs/mingw-w64/x86_64
|
... | | ... | |