0

I'm trying to compile a C program with gcc in a image that I have made with buildroot for STM32mp157a-dk1, but I get:

$ gcc bl.c -o bl
-sh: gcc: not found
$
6
  • Is GCC on the system? – Nasir Riley May 27 at 14:22
  • yes gcc version 9.3 – ELmehdi May 27 at 14:56
  • Then it's not in your environment. Add the output of whereis gcc to your question. – Nasir Riley May 27 at 14:59
  • i didn't get your response – ELmehdi May 27 at 15:06
  • 5
    Please don't post images of text. Copy and paste the text itself into your question and format it as code by selecting it and pressing Ctrl-K or by using the editor's {} icon. – cas May 27 at 15:42

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.