gccarch

Crates.iogccarch
lib.rsgccarch
version0.1.1
sourcesrc
created_at2022-04-27 18:30:23.369285
updated_at2022-04-27 18:41:19.51958
descriptionReport architecture information from GCC's backends list.
homepage
repositoryhttps://github.com/alilleybrinker/gccarch
max_upload_size
id576153
size42,551
Andrew Lilley Brinker (alilleybrinker)

documentation

README

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.

How to Use

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.

Installing

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.

License

gccarch is dual-licensed with the MIT and Apache 2.0 licenses.

Commit count: 8

cargo fmt