Crates.io | gccarch |
lib.rs | gccarch |
version | 0.1.1 |
source | src |
created_at | 2022-04-27 18:30:23.369285 |
updated_at | 2022-04-27 18:41:19.51958 |
description | Report architecture information from GCC's backends list. |
homepage | |
repository | https://github.com/alilleybrinker/gccarch |
max_upload_size | |
id | 576153 |
size | 42,551 |
gccarch
gccarch
is a tool to query information about architectures
supported by the GNU Compiler Collection (GCC), as described
in the GCC documentation under
"Status of Supported Architectures from Maintainers' Point of View".
gccarch
makes it easier to query the information presented
in the ASCII-art table on that page.
gccarch
supports the following flags, which are exclusive of each other.
-a <NAME>
/--arch <NAME>
: print what features are supported by an
architecture.-A
/--archs
: print all architectures supported by GCC.-f <NAME>
/--feat <NAME>
: print all architectures which support a feature.-F
/--feats
: print all features tracked by GCC.gccarch
also supports the usual convenience commands:
-h
/--help
: print the help text.-V
/--version
: print the current version.gccarch
can be installed using a Rust toolchain. First you'll need to
install Rust. Then run the following:
$ cargo install gccarch
gccarch
should now be installed. You can confirm this with
cargo install --list | grep gccarch
. Make sure your Cargo binary
directory is in your PATH
environment variable.
gccarch
is dual-licensed with the MIT and Apache 2.0 licenses.