目录
目录README.md

compiler-rt Port for Embedded Devices

This is a port of compiler-rt to embedded devices. The objective of this repository is using compiler-rt as the built-in function implementation for embedded devices. Compared with other implementations, compiler-rt is more portable across architectures because it is written in pure C.

See compiler-rt source repo for the original source code. All source files are copied from this repository, except for src/mulsi3.c.

Building

Simply build this project with make. It is strongly recommended to build this project with clang.

You can optionally provide a toolchain file to specify build target and options, with make TOOLCHAIN_FILE=/path/to/toochain/file. Toolchain files in Sonnet SKD are also applicable here. This is an example toolchain file:

CC := clang
AR := llvm-ar

CFLAGS += --target=riscv32-unknown-elf -mabi=ilp32 -march=rv32im -ffreestanding -nostdlib -O3 -g
关于

compiler-rt port for embedded devices

122.0 KB
邀请码
    Gitlink(确实开源)
  • 加入我们
  • 官网邮箱:gitlink@ccf.org.cn
  • QQ群
  • QQ群
  • 公众号
  • 公众号

©Copyright 2023 CCF 开源发展委员会
Powered by Trustie& IntelliDE 京ICP备13000930号