Skip to content

Conversation

@bubblepipe
Copy link

This PR adds a Nix flake script to provide an easy way to install the RISC-V toolchain required for compiling C programs to run on CKB VM.

By running:

$ nix develop 

We can have a working riscv64-none-elf-gcc in our environment.

@XuJiandong
Copy link
Collaborator

We use native clang to compile on-chain script. See https://github.com/cryptape/ckb-script-templates/blob/main/workspace/scripts/find_clang

@chenyukang chenyukang moved this to 🏗 In progress in Kanban Sep 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: 🏗 In progress

Development

Successfully merging this pull request may close these issues.

2 participants