|
| 1 | +--- |
| 2 | +title: xPack GNU RISC-V Embedded GCC v14.2.0-3 released |
| 3 | +description: Version v14.2.0-3 is a maintenance release. |
| 4 | +keywords: |
| 5 | + - xpack |
| 6 | + - riscv-none-elf-gcc |
| 7 | + - release |
| 8 | + |
| 9 | +date: 2024-12-06 03:05:10 +0200 |
| 10 | + |
| 11 | +authors: ilg-ul |
| 12 | + |
| 13 | +# To be listed in the Releases page. |
| 14 | +tags: |
| 15 | + - releases |
| 16 | + |
| 17 | +# ----- Custom properties ----------------------------------------------------- |
| 18 | + |
| 19 | +gcc_version: "14.2.0" |
| 20 | +binutils_version: "2.43.1" |
| 21 | +gdb_version: "15.1" |
| 22 | +newlib_version: "4.4.0" |
| 23 | +python_version: "3.12.2" |
| 24 | + |
| 25 | +version: "14.2.0-3" |
| 26 | +npm_subversion: "1" |
| 27 | + |
| 28 | +download_url: https://github.com/xpack-dev-tools/riscv-none-elf-gcc-xpack/releases/tag/v14.2.0-3/ |
| 29 | + |
| 30 | +--- |
| 31 | + |
| 32 | +import {PageMetadata} from '@docusaurus/theme-common'; |
| 33 | +import Image from '@theme/IdealImage'; |
| 34 | +import CodeBlock from '@theme/CodeBlock'; |
| 35 | + |
| 36 | +import Prerequisites from './_common/_prerequisites-glib-2.27.mdx' |
| 37 | +import DeprecationNotices from './_common/_deprecation-notices-glib-2.27.mdx' |
| 38 | +import DownloadAnalytics from './_common/_download-analytics.mdx' |
| 39 | + |
| 40 | +Version **14.2.0-3** is a maintenance release; it adds two new multilibs, `rv32ec/ilp32e` & `rv32imc/ilp32`. |
| 41 | + |
| 42 | +<!-- truncate --> |
| 43 | + |
| 44 | +<PageMetadata title={frontMatter.seo_title} /> |
| 45 | + |
| 46 | +The [xPack GNU RISC-V Embedded GCC](/) |
| 47 | +is a standalone cross-platform binary distribution of |
| 48 | +[GNU GCC](https://gcc.gnu.org/releases.html) for embedded RISC-V. |
| 49 | + |
| 50 | +There are separate binaries for **Windows** (x64), |
| 51 | +**macOS** (x64 and arm64) |
| 52 | +and **GNU/Linux** (x64, arm64 and arm). |
| 53 | + |
| 54 | +:::note Raspberry Pi |
| 55 | + |
| 56 | +The main targets for the GNU/Linux Arm |
| 57 | +binaries are the **Raspberry Pi** class devices (armv7l and aarch64; |
| 58 | +armv6 is not supported). |
| 59 | + |
| 60 | +::: |
| 61 | + |
| 62 | +## Download |
| 63 | + |
| 64 | +The binary files can be downloaded automatically with **xpm** or manually |
| 65 | +from <a href={frontMatter.download_url}>GitHub Releases</a>. |
| 66 | + |
| 67 | +<Prerequisites/> |
| 68 | + |
| 69 | +## Install |
| 70 | + |
| 71 | +The easiest way to install this specific version, is by using **xpm**: |
| 72 | + |
| 73 | +<CodeBlock language="console"> { |
| 74 | +`xpm install @xpack-dev-tools/riscv-none-elf-gcc@${frontMatter.version}.${frontMatter.npm_subversion} -verbose |
| 75 | +`} </CodeBlock> |
| 76 | + |
| 77 | +Comprehensive instructions for installing **xPack GNU RISC-V Embedded GCC** on different platforms |
| 78 | +can be found in the [Install Guide](/docs/install/). |
| 79 | + |
| 80 | +## Compliance |
| 81 | + |
| 82 | +The xPack GNU RISC-V Embedded GCC uses the official sources, |
| 83 | +with no functional changes: |
| 84 | + |
| 85 | +- GCC {frontMatter.gcc_version} |
| 86 | +- binutils {frontMatter.binutils_version} |
| 87 | +- newlib {frontMatter.newlib_version} |
| 88 | +- gdb {frontMatter.gdb_version} |
| 89 | +- python {frontMatter.python_version} |
| 90 | + |
| 91 | +## Supported libraries |
| 92 | + |
| 93 | +The default architecture/ABI pair is `rv32imac/ilp32`. |
| 94 | + |
| 95 | +The other supported libraries are: |
| 96 | + |
| 97 | +```console |
| 98 | +$ riscv-none-elf-gcc -print-multi-lib |
| 99 | +.; |
| 100 | +rv32e/ilp32e;@march=rv32e@mabi=ilp32e |
| 101 | +rv32ec/ilp32e;@march=rv32ec@mabi=ilp32e |
| 102 | +rv32ea/ilp32e;@march=rv32ea@mabi=ilp32e |
| 103 | +rv32em/ilp32e;@march=rv32em@mabi=ilp32e |
| 104 | +rv32eac/ilp32e;@march=rv32eac@mabi=ilp32e |
| 105 | +rv32emac/ilp32e;@march=rv32emac@mabi=ilp32e |
| 106 | +rv32i/ilp32;@march=rv32i@mabi=ilp32 |
| 107 | +rv32ia/ilp32;@march=rv32ia@mabi=ilp32 |
| 108 | +rv32im/ilp32;@march=rv32im@mabi=ilp32 |
| 109 | +rv32imc/ilp32;@march=rv32imc@mabi=ilp32 |
| 110 | +rv32if_zicsr/ilp32f;@march=rv32if_zicsr@mabi=ilp32f |
| 111 | +rv32ifd_zicsr/ilp32d;@march=rv32ifd_zicsr@mabi=ilp32d |
| 112 | +rv32iaf_zicsr/ilp32f;@march=rv32iaf_zicsr@mabi=ilp32f |
| 113 | +rv32iafd_zicsr/ilp32d;@march=rv32iafd_zicsr@mabi=ilp32d |
| 114 | +rv32imf_zicsr/ilp32f;@march=rv32imf_zicsr@mabi=ilp32f |
| 115 | +rv32imfd_zicsr/ilp32d;@march=rv32imfd_zicsr@mabi=ilp32d |
| 116 | +rv32iac/ilp32;@march=rv32iac@mabi=ilp32 |
| 117 | +rv32imafc_zicsr/ilp32f;@march=rv32imafc_zicsr@mabi=ilp32f |
| 118 | +rv32imafdc_zicsr/ilp32d;@march=rv32imafdc_zicsr@mabi=ilp32d |
| 119 | +rv64i/lp64;@march=rv64i@mabi=lp64 |
| 120 | +rv64ia/lp64;@march=rv64ia@mabi=lp64 |
| 121 | +rv64im/lp64;@march=rv64im@mabi=lp64 |
| 122 | +rv64if_zicsr/lp64f;@march=rv64if_zicsr@mabi=lp64f |
| 123 | +rv64ifd_zicsr/lp64d;@march=rv64ifd_zicsr@mabi=lp64d |
| 124 | +rv64iaf_zicsr/lp64f;@march=rv64iaf_zicsr@mabi=lp64f |
| 125 | +rv64iafd_zicsr/lp64d;@march=rv64iafd_zicsr@mabi=lp64d |
| 126 | +rv64imf_zicsr/lp64f;@march=rv64imf_zicsr@mabi=lp64f |
| 127 | +rv64iac/lp64;@march=rv64iac@mabi=lp64 |
| 128 | +rv64imac/lp64;@march=rv64imac@mabi=lp64 |
| 129 | +rv64imafc_zicsr/lp64f;@march=rv64imafc_zicsr@mabi=lp64f |
| 130 | +rv64imafdc_zicsr/lp64d;@march=rv64imafdc_zicsr@mabi=lp64d |
| 131 | +``` |
| 132 | + |
| 133 | +:::note |
| 134 | + |
| 135 | +This list is inspired by the Debian `riscv64-unknown-elf-gcc` supported multi-libs. |
| 136 | + |
| 137 | +::: |
| 138 | + |
| 139 | +## Changes |
| 140 | + |
| 141 | +Compared to the upstream GNU release, there are no functional changes. |
| 142 | + |
| 143 | +## Bug fixes |
| 144 | + |
| 145 | +- none |
| 146 | + |
| 147 | +## Enhancements |
| 148 | + |
| 149 | +- [#38] based on users requests, two more libraries were added |
| 150 | + - `rv32ec/ilp32e` |
| 151 | + - `rv32imc/ilp32` |
| 152 | + |
| 153 | +## Known problems |
| 154 | + |
| 155 | +- none |
| 156 | + |
| 157 | +## Documentation |
| 158 | + |
| 159 | +The original GNU Arm Embedded GCC documentation is available from the |
| 160 | +[GCC online documentation](https://gcc.gnu.org/onlinedocs/) web site. |
| 161 | + |
| 162 | +## Build |
| 163 | + |
| 164 | +The binaries for all supported platforms |
| 165 | +(Windows, macOS and GNU/Linux) were built using the |
| 166 | +[xPack Build Box (XBB)](https://xpack.github.io/xbb/), a set |
| 167 | +of build environments based on slightly older distributions, that should be |
| 168 | +compatible with most recent systems. |
| 169 | + |
| 170 | +For the prerequisites and more details on the build procedure, please see the |
| 171 | +[Maintainer Info](/docs/maintainer/) page. |
| 172 | + |
| 173 | +## CI tests |
| 174 | + |
| 175 | +Before publishing, a set of simple tests were performed on an exhaustive |
| 176 | +set of platforms. The results are available from: |
| 177 | + |
| 178 | +- [GitHub Actions](https://github.com/xpack-dev-tools/riscv-none-elf-gcc-xpack/actions/) |
| 179 | +- [Travis CI](https://app.travis-ci.com/github/xpack-dev-tools/riscv-none-elf-gcc-xpack/builds/) |
| 180 | + |
| 181 | +## Tests |
| 182 | + |
| 183 | +The binaries were tested on a variety of platforms, |
| 184 | +but mainly to check the integrity of the |
| 185 | +build, not the compiler functionality. |
| 186 | + |
| 187 | +## Checksums |
| 188 | + |
| 189 | +The SHA-256 hashes for the files are: |
| 190 | + |
| 191 | +```txt |
| 192 | +e76e86b8c500f8e92b3b4ff7b0444cfbf3b218515f322929e0744ec3b9ed80a8 |
| 193 | +xpack-riscv-none-elf-gcc-14.2.0-3-darwin-arm64.tar.gz |
| 194 | +
|
| 195 | +8a6e699f12876152d6386e777675d94529ccc21a57224a69d973f676949a1687 |
| 196 | +xpack-riscv-none-elf-gcc-14.2.0-3-darwin-x64.tar.gz |
| 197 | +
|
| 198 | +c8587c7a45b141e1e949084f2c05a51e01f7d4494c0e647c623ee857dbc1a89d |
| 199 | +xpack-riscv-none-elf-gcc-14.2.0-3-linux-arm.tar.gz |
| 200 | +
|
| 201 | +0c0551986e30174af55f245e1c3a86c45233fc793bf36586567f266ada6fdd98 |
| 202 | +xpack-riscv-none-elf-gcc-14.2.0-3-linux-arm64.tar.gz |
| 203 | +
|
| 204 | +f574415b63f12b09bdd3475223ab492a465d23810646c90c13a4c3b676c83503 |
| 205 | +xpack-riscv-none-elf-gcc-14.2.0-3-linux-x64.tar.gz |
| 206 | +
|
| 207 | +9bb15efdeca256532c4a83ce6462c7dc1f9cfebe1f1f43d581b2ad7d077209b6 |
| 208 | +xpack-riscv-none-elf-gcc-14.2.0-3-win32-x64.zip |
| 209 | +
|
| 210 | +``` |
| 211 | + |
| 212 | +<DeprecationNotices/> |
| 213 | + |
| 214 | +<DownloadAnalytics version={frontMatter.version}/> |
0 commit comments