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

clang strange error when compiling for CHERI #13

Open
josephKaberuka365 opened this issue Sep 24, 2023 · 0 comments
Open

clang strange error when compiling for CHERI #13

josephKaberuka365 opened this issue Sep 24, 2023 · 0 comments

Comments

@josephKaberuka365
Copy link

export CC=~/cheri/output/morello-sdk/bin/clang
export CFLAGS="--config cheribsd-morello-purecap.cfg"

When trying cross-compilation with $CC $CFLAGS PrintCapabilityValue.c

Cross-compilation failed and can't generate a.out executable file

clang-13: error: configuration file 'cheribsd-morello-purecap-cfg.cfg' cannot be found
clang-13: was searched for in the directory: /home/joseph/cheri/output/morello-sdk/bin

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

No branches or pull requests

1 participant