Quantcast
Viewing all articles
Browse latest Browse all 4430

C/C++ • Re: Rpi 4B - Illegal instruction on simple cpp application with mmap

Update. I have tried a few more flags from searching on the web. Still I am getting the same random error:

g++ -o my_program main.cpp -mcpu=cortex-a72 -mtune=cortex-a72 -mno-outline-atomics -march=armv8-a+nolse

Thinking it could be a permission issue, I tried with sudo, but still the same issue

Statistics: Posted by fabianmejia — Sat Nov 02, 2024 3:08 pm



Viewing all articles
Browse latest Browse all 4430

Trending Articles