{props.helperBranchName}
branch and link it to the
15 | user's global xPacks store:
16 |
17 | The Windows builds run on GNU/Linux, using mingw-w64.
) : ''} 13 | 14 | To prepare the docker build: 15 | 16 |build-assets/build/{props.platform}/deploy
folder:
48 |
49 | - xpack-gcc-14.2.0-2-{props.platform}.tar.gz
50 | - xpack-gcc-14.2.0-2-{props.platform}.tar.gz.sha
51 |
52 | To rerun the build, invoke the **deep-clean** action and repeat from install:
53 |
54 | build-assets/build/{props.platform}/deploy
folder:
45 |
46 | - xpack-gcc-14.2.0-2-{props.platform}.tar.gz
47 | - xpack-gcc-14.2.0-2-{props.platform}.tar.gz.sha
48 |
49 | To rerun the build, invoke the **deep-clean** action and repeat from install:
50 |
51 | xpacks/@xpack-dev-tools/gcc
pointing to the
19 | versioned folder in the user's global xPacks store
20 | * add links/forwarders into
21 | the local `xpacks/.bin` folder, referring to the binaries in
22 | xpacks/@xpack-dev-tools/gcc/.content/bin
;
23 |
24 | * add @xpack-dev-tools/gcc
to
25 | `package.json` as a
26 | development dependency; this associates a specific version of the xPack GCC with
27 | the current project (details below).
28 |
29 | :::tip
30 |
31 | The install location can be configured using the
32 | `XPACKS_STORE_FOLDER` environment variable; for more details please check the
33 | [xpm folders](https://xpack.github.io/xpm/folders/) page.
34 |
35 | :::
36 |
37 | .zip
or .tar.gz
) archives;
19 | therefore they do not require to run any uninstaller; simply removing the
20 | links and possibly the user's global xPacks store folder and
21 | the user xPack cache folder is enough.
22 |
23 | To remove the links created by
24 | **xpm** in the current project,
25 | go to the project folder:
26 |
27 | ```sh
28 | cd my-project
29 | ```
30 |
31 | and ask **xpm** to uninstall the package:
32 |
33 | 14.2.0-2.1
).
15 |
16 |
--------------------------------------------------------------------------------
/website/docs/maintainer/_common/_gcc-check-upstream-release.mdx:
--------------------------------------------------------------------------------
1 | {/* DO NOT EDIT! */}
2 | {/* Automatically generated from docusaurus-template-liquid/templates/docusaurus. */}
3 |
4 | {/* ------------------------------------------------------------------------ */}
5 |
6 | ### Check the latest upstream release
7 |
8 | The current release must be announced in the
9 | [GCC Timeline](https://gcc.gnu.org/releases.html) page.
10 | Compare the latest GCC release with the current xPack
11 | [release](https://github.com/xpack-dev-tools/gcc-xpack/releases).
12 |
13 | If necessary, update the triplet, otherwise increase the fourth number,
14 | as below.
15 |
16 | The actual version is in the `gcc.git/gcc/BASE-VER` file.
17 |
--------------------------------------------------------------------------------
/website/docs/maintainer/_common/_increase-version.mdx:
--------------------------------------------------------------------------------
1 | {/* DO NOT EDIT! */}
2 | {/* Automatically generated from docusaurus-template-liquid/templates/docusaurus. */}
3 |
4 | {/* ------------------------------------------------------------------------ */}
5 |
6 | ### Increase the version and update the top `package.json`
7 |
8 | As required by npm modules, this one also uses [SemVer](https://semver.org).
9 |
10 | - determine the next version (like 14.2.0-2.1
)
11 | - update the version in the top `package.json` file
12 | - use the new version, suffixed by `.pre`,
13 | like 14.2.0-2.1.pre
.
14 |
--------------------------------------------------------------------------------
/website/docs/maintainer/_common/_platform-docker-build.mdx:
--------------------------------------------------------------------------------
1 | {/* DO NOT EDIT! */}
2 | {/* Automatically generated from docusaurus-template-liquid/templates/docusaurus. */}
3 |
4 | import CodeBlock from '@theme/CodeBlock';
5 |
6 | import {developmentDurations} from '@site/docs/_project/_development-durations.mdx';
7 |
8 | {/* ------------------------------------------------------------------------ */}
9 |
10 | To check the available space:
11 |
12 | ```sh
13 | xpm run check-space -C ~/Work/xpack-dev-tools/gcc-xpack.git/build-assets
14 | ```
15 |
16 | To free the space used by all previous builds of all `xpack-dev-tools` packages:
17 |
18 | ```sh
19 | xpm run clear-all-projects-builds -C ~/Work/xpack-dev-tools/gcc-xpack.git/build-assets
20 | ```
21 |
22 | To update the build scripts and build the development binaries:
23 |
24 | build-assets/build/{props.platform}/deploy
folder:
41 |
42 | - xpack-gcc-14.2.0-2-{props.platform}.{props.platform === 'win32-x64' ? 'zip' : 'tar.gz'}
43 | - xpack-gcc-14.2.0-2-{props.platform}.{props.platform === 'win32-x64' ? 'zip' : 'tar.gz'}.sha
44 |
45 | To update the build scripts and build the release binaries:
46 |
47 | build-assets/build/{props.platform}/deploy
folder:
41 |
42 | - xpack-gcc-14.2.0-2-{props.platform}.tar.gz
43 | - xpack-gcc-14.2.0-2-{props.platform}.tar.gz.sha
44 |
45 | To update the build scripts and build the release binaries:
46 |
47 | npmjs.com
as {specifier ? specifier : '@xpack-dev-tools/gcc'}
>
18 | );
19 | }
20 |
--------------------------------------------------------------------------------
/website/docs/project/history/_common/HistoryZipAdded/index.tsx:
--------------------------------------------------------------------------------
1 | /*
2 | * DO NOT EDIT!
3 | * Automatically generated from docusaurus-template-liquid/templates/docusaurus.
4 | *
5 | * This file is part of the xPack project (http://xpack.github.io).
6 | * Copyright (c) 2024 Liviu Ionescu. All rights reserved.
7 | *
8 | * Permission to use, copy, modify, and/or distribute this software
9 | * for any purpose is hereby granted, under the terms of the MIT license.
10 | *
11 | * If a copy of the license was not distributed with this file, it can
12 | * be obtained from https://opensource.org/licenses/MIT.
13 | */
14 |
15 | export default function HistoryZipAdded({platforms}): JSX.Element {
16 | return (
17 | <>Standard .zip
archives were added in parallel with Windows setup files>
18 | );
19 | }
20 |
--------------------------------------------------------------------------------
/website/docs/project/history/_common/_history-gnu-arm-eclipse.mdx:
--------------------------------------------------------------------------------
1 | {/* DO NOT EDIT! */}
2 | {/* Automatically generated from docusaurus-template-liquid/templates/docusaurus. */}
3 |
4 | {/* ------------------------------------------------------------------------ */}
5 |
6 | This project began in **{props.date || 'DATE'}** as one of the support tools for the
7 | **GNU Arm Eclipse** plug-ins,
8 | which were later rebranded as **GNU MCU Eclipse** plug-ins and are now
9 | integrated into the [Eclipse Embedded CDT](https://eclipse-embed-cdt.github.io).
10 |
--------------------------------------------------------------------------------
/website/docs/project/history/_common/_history-rename-xpack.mdx:
--------------------------------------------------------------------------------
1 | {/* DO NOT EDIT! */}
2 | {/* Automatically generated from docusaurus-template-liquid/templates/docusaurus. */}
3 |
4 | import Link from '@docusaurus/Link';
5 |
6 | {/* ------------------------------------------------------------------------ */}
7 |
8 | The project was renamed **xPack GCC**
9 | (in {props.releaseName || 'NAME'}).
10 |
--------------------------------------------------------------------------------
/website/docs/project/history/_common/_history-restructuring.mdx:
--------------------------------------------------------------------------------
1 | {/* DO NOT EDIT! */}
2 | {/* Automatically generated from docusaurus-template-liquid/templates/docusaurus. */}
3 |
4 | {/* ------------------------------------------------------------------------ */}
5 |
6 | The project underwent a comprehensive restructuring. To streamline the top
7 | `package.json` by showcasing only user-related definitions and concealing
8 | build-related ones, all build-related files were relocated to the
9 | `build-assets` folder. Furthermore, the development Git branch was
10 | renamed to `xpack-development` for enhanced clarity.
11 |
--------------------------------------------------------------------------------
/website/docs/project/history/_common/_history-setup-discontinued.mdx:
--------------------------------------------------------------------------------
1 | {/* DO NOT EDIT! */}
2 | {/* Automatically generated from docusaurus-template-liquid/templates/docusaurus. */}
3 |
4 | import Link from '@docusaurus/Link';
5 |
6 | {/* ------------------------------------------------------------------------ */}
7 |
8 | To increase flexibility and
9 | allow multiple versions of a tool to be installed on the same system,
10 | the Windows setup format was discontinued. From
11 | version {props.releaseName || 'NAME'} onward,
12 | for Windows, only a standard `.zip` archive was distributed.
13 |
--------------------------------------------------------------------------------
/website/docs/project/history/_common/_history-xbb-v5.mdx:
--------------------------------------------------------------------------------
1 | {/* DO NOT EDIT! */}
2 | {/* Automatically generated from docusaurus-template-liquid/templates/docusaurus. */}
3 |
4 | {/* ------------------------------------------------------------------------ */}
5 |
6 | The project received a significant update by transitioning the build
7 | scripts from the cumbersome monolithic XBB Docker images to the more
8 | flexible and modular **xpm** packages. XBB version
9 | [5.0.0](https://xpack.github.io/blog/2023/02/07/xbb-v5.0.0-released/)
10 | marked a major milestone for the xPack project, as it was the first
11 | self-sustained release. This version enabled the creation of new
12 | binary packages using existing binary packages, eliminating the need for
13 | custom Docker images or other compiled tools.
14 |
--------------------------------------------------------------------------------
/website/docs/project/history/_project/_content.mdx:
--------------------------------------------------------------------------------
1 |
2 | import versionMajor from '@site/src/libs/versionMajor';
3 |
4 | import HistoryWindowsUcrt from '../_common/HistoryWindowsUcrt';
5 | import HistoryAppleSiliconAdded from '../_common/HistoryAppleSiliconAdded';
6 | import History32bitDiscontinued from '../_common/History32bitDiscontinued';
7 |
8 | import HistoryXBBv5 from '../_common/_history-xbb-v5.mdx';
9 | import HistoryRestructuring from '../_common/_history-restructuring.mdx';
10 |
11 | {/* ------------------------------------------------------------------------ */}
12 |
13 | ### April 2020
14 |
15 | The project was created in **April 2020**.
16 |
17 | ### May 2021
18 |
19 | The first **xPack GCC** release was
20 | [v8.5.0-1](/blog/2021/05/24/gcc-v8-5-0-1-released/).
21 |
22 | ### October 2021
23 |
24 | 14.2.0
;
16 | to this string the xPack distribution adds a fourth number,
17 | but since [SemVer](https://semver.org) allows only three numbers,
18 | all additional ones can
19 | be added only as pre-release strings, separated by a dash,
20 | like 14.2.0-2
. When
21 | published as a npm package, the version gets
22 | a fifth number,
23 | like 14.2.0-2.1
.
24 |
25 | Since adherence of third party packages to SemVer is not guaranteed,
26 | it is recommended to avoid referring to the xPack GCC dependency via
27 | a SemVer expressions
28 | like ^14.2.0-2
or ~14.2.0-2
, and
29 | prefer exact matches,
30 | like 14.2.0-2.1
.
31 |
--------------------------------------------------------------------------------
/website/docs/user/_project/_use-in-testing.mdx:
--------------------------------------------------------------------------------
1 |
2 | {/* ------------------------------------------------------------------------ */}
3 |
4 | ## Using gcc in testing
5 |
6 | TODO
7 |
--------------------------------------------------------------------------------
/website/docs/user/_project/_versioning.mdx:
--------------------------------------------------------------------------------
1 |
2 | import Versioning from '../_common/_versioning.mdx';
3 |
4 | {/* ------------------------------------------------------------------------ */}
5 |
6 | {/* By default use the common versioning text; replace it with a custom one if needed */}
7 | xpm install
.
37 | This feature also ensures reproducibility, which is particularly
38 | beneficial in CI/CD environments.
39 | >
40 | ),
41 | },
42 | {
43 | title: 'Part of the Node.js ecosystem',
44 | Svg: require('@site/static/img/globe.svg').default,
45 | description: (
46 | <>
47 | The xpm CLI tool
48 | complements npm with
49 | several extra features specific to C/C++ projects.
50 | This allows the
51 | binary packages to nicely integrate into the Node.js ecosystem,
52 | while still allowing the binary archives to be installed manually.
53 | >
54 | ),
55 | },
56 | ];
57 |
--------------------------------------------------------------------------------
/website/src/components/HomepageFeatures/index.tsx:
--------------------------------------------------------------------------------
1 | /*
2 | * DO NOT EDIT!
3 | * Automatically generated from docusaurus-template-liquid/templates/docusaurus.
4 | *
5 | * This file is part of the xPack project (http://xpack.github.io).
6 | * Copyright (c) 2024 Liviu Ionescu. All rights reserved.
7 | *
8 | * Permission to use, copy, modify, and/or distribute this software
9 | * for any purpose is hereby granted, under the terms of the MIT license.
10 | *
11 | * If a copy of the license was not distributed with this file, it can
12 | * be obtained from https://opensource.org/licenses/MIT.
13 | */
14 |
15 | import clsx from 'clsx';
16 | import Heading from '@theme/Heading';
17 | import Link from '@docusaurus/Link';
18 | import styles from './styles.module.css';
19 |
20 | import type { FeatureItem } from './FeatureItem';
21 | import { FeatureList } from './FeatureList';
22 |
23 | function Feature({title, Svg, description}: FeatureItem) {
24 | return (
25 | {description}
32 |{siteConfig.tagline} 34 | 35 | 36 | 37 | 38 |
39 |