Skip to content

Commit 0626417

Browse files
authored
Merge pull request #775 from stan-dev/rtools44-updates
Update Windows doc to use RTools44, add ARM64 instructions
2 parents 2467ab9 + 347b97d commit 0626417

File tree

1 file changed

+25
-10
lines changed

1 file changed

+25
-10
lines changed

src/cmdstan-guide/installation.qmd

Lines changed: 25 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -396,34 +396,49 @@ g++ --version
396396
make --version
397397
```
398398

399-
CmdStan is known compatible with the RTools43 toolchain. The toolchain will require
399+
CmdStan is known compatible with the RTools44 toolchain. The toolchain will require
400400
updating your `PATH` variable, See [these instructions](https://helpdeskgeek.com/windows-10/add-windows-path-environment-variable/)
401401
for details on changing the `PATH` if you are unfamiliar. The following instructions will assume that the default installation
402402
directory was used, so be sure to update the paths accordingly if you have chosen a different
403403
directory.
404404

405405

406-
##### RTools43
406+
##### RTools44
407407

408408
All required utilities (e.g., `make`, `g++`) for compiling and running CmdStan models on Windows are
409-
provided by the RTools43 toolchain from the R Project. Installation steps are provided below,
410-
and for more technical details on the toolchain refer to the [R Project documentation](https://cran.r-project.org/bin/windows/Rtools/rtools43/rtools.html).
409+
provided by the RTools44 toolchain from the R Project. Installation steps are provided below,
410+
and for more technical details on the toolchain refer to the [R Project documentation](https://cran.r-project.org/bin/windows/Rtools/rtools44/rtools.html).
411+
412+
The R Project provides RTools44 for both Intel/AMD 64-bit (x86_64) and ARM 64-bit (aarch64) systems.
413+
If you are unsure which to use, then you can check by going to the Windows Settings, selecting the 'System' menu and then the 'About' option.
414+
If the 'System Type' field lists 'ARM-based processor', then you should follow the ARM64 instructions below.
411415

412416
Note that the toolchain is only available for 64-bit systems, and uses the new Universal C Runtime (UCRT).
413417
UCRT is only natively supported on Windows 10 and newer, older systems will require a
414418
[Microsoft update](https://support.microsoft.com/en-us/topic/update-for-universal-c-runtime-in-windows-c0514201-7fe6-95a3-b0a5-287930f3560c).
415419

416-
###### Installation
420+
###### Installation - Intel/AMD 64-bit (x86_64)
421+
422+
Download the installer and complete the prompts for installation:
423+
424+
- [RTools44](https://cran.r-project.org/bin/windows/Rtools/rtools44/files/rtools44-6104-6039.exe)
425+
426+
Next, you need to add the toolchain directory to your `PATH` variable:
427+
```
428+
C:\rtools44\usr\bin
429+
C:\rtools44\x86_64-w64-mingw32.static.posix\bin
430+
```
431+
432+
###### Installation - ARM 64-bit (arm64/aarch64)
417433

418434
Download the installer and complete the prompts for installation:
419435

420-
- [RTools43](https://cran.r-project.org/bin/windows/Rtools/rtools43/files/rtools43-5958-5975.exe)
436+
- [RTools44 - ARM64](https://cran.r-project.org/bin/windows/Rtools/rtools44/files/rtools44-aarch64-6104-6039.exe)
421437

422-
Next, you need to add the toolchain directory to your `PATH` variable. Add the appropriate lines
423-
from below:
438+
Next, you need to add the toolchain directory to your `PATH` variable:
424439
```
425-
C:\rtools43\usr\bin
426-
C:\rtools43\x86_64-w64-mingw32.static.posix\bin
440+
C:\rtools44-aarch64\usr\bin
441+
C:\rtools44-aarch64\aarch64-w64-mingw32.static.posix\bin
427442
```
428443

429444
## Using GNU Make {#gnu-make}

0 commit comments

Comments
 (0)