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