Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ring v0.16.20 building on target board on riscv64 platform #1615

Closed
kush930 opened this issue Jun 20, 2023 · 1 comment
Closed

ring v0.16.20 building on target board on riscv64 platform #1615

kush930 opened this issue Jun 20, 2023 · 1 comment

Comments

@kush930
Copy link

kush930 commented Jun 20, 2023

Hi all,

I am using gcc-10.1.0 and glibc-3.2.1 , and using ring from link: https://github.com/briansmith/ring.git

I am building on target board, this source not having riscv support,  i modified inside source from the link:-  https://github.com/briansmith/ring/pull/1556/commits/22fae8e15edddac0891404ddb5a621bb6301e234

when i prefer this link there i got these changes  inside mk/cargo.sh 

**qemu_riscv64="qemu-riscv64 -L /usr/riscv64-linux-gnu"
riscv64gc-unknown-linux-gnu)
    export CC_riscv64gc_unknown_linux_gnu=riscv64-linux-gnu-gcc
    export AR_riscv64gc_unknown_linux_gnu=riscv64-linux-gnu-gcc-ar
    export CARGO_TARGET_RISCV64GC_UNKNOWN_LINUX_GNU_LINKER=riscv64-linux-gnu-gcc
    export CARGO_TARGET_RISCV64GC_UNKNOWN_LINUX_GNU_RUNNER="$qemu_riscv64"**
    ;;

i donot need for qemu, i am building on target board, Can anyone help me to build ring 0.16.20 on target board.

T&R
luvkhush

@briansmith
Copy link
Owner

Closing as a duplicate of #1612. Please see that issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants