Open jasonbrianhall opened 5 months ago
It has been about 8 years since I have compiled C++ code for Raspbrerry PI. It requires setting a few compiler flags to prevent illegal instruction errors. "march" and "mcpu" flags need to be set. It also uses hard floating point.
Here is what I found on stack exchange for older versions of it. https://raspberrypi.stackexchange.com/questions/2046/which-cpu-flags-are-suitable-for-gcc-on-raspberry-pi
Check #315
I'm trying to get it working on my raspberry pi. It compiles just fine on raspian but immediately seg faults when I run the code. Not sure if it's the difference in architecture or what but it doesn't work.