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

Build fails while building oblfr because cross compiler is not in PATH #53

Open
fanginoort opened this issue Apr 11, 2023 · 0 comments
Open

Comments

@fanginoort
Copy link

fanginoort commented Apr 11, 2023

Building fails while building oblfr 2abd79917d67cc8213f71ee6da23d0ab83440f07 with error message

The CMAKE_C_COMPILER:
riscv64-unknown-elf-gcc
is not a full path and was not found in the PATH.

During investigation I figured out that the PATH is set to

output/host/bin
output/host/sbin

The compiler however is installed in

output/host/usr/bin/

edit:
I could fix it manually by adding usr/bin/ to the path by inserting a PATH=$(HOST_DIR)/usr/bin:$$PATH into boot/oblfr/oblfr.mk, however I think there should be a way nicer option to fix this.

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