A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/lowRISC/riscv-elf-psabi-sanity-checker below:

lowRISC/riscv-elf-psabi-sanity-checker: High-level C Compiler Sanity Checks for RISC-V ELF psABI

RISC-V ELF psABI Sanity Checker (for C compilers)

This repository contains a set of C files to check a C compiler complies with the basic parts of the RISC-V ELF psABI specification.

To check your compiler, run:

$ ./sanity-checker-c [target] [cc] [path/to/sysroot]

[target] should be one of:

[cc] should be a C compiler to check

[path/to/sysroot] should be the path to a valid multilib sysroot for the given target. This is optional if your compiler will choose the right directory.

RISC-V ABI- and Architecture-specific C Preprocessor Definitions

The RISC-V ELF psABI is not language-specific, and so does not mandate the definition of specific C preprocessor definitions.

However, there is value in ensuring that C compilers for the RISC-V psABI match in terms of ABI- and architecture-specific preprocessor defines. These tests ensure that compilers match on the preprocessor definitions.

The C preprocessor definition checks are based on both riscv-toolchain-conventions and riscv-c-api.

Copyright and license information

The RISC-V ELF psABI Sanity Checker (for C compilers) in this repository is:

© 2019 lowRISC contributors

It is licensed under the Apache 2.0 licence, available in LICENSE.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4