That's right. You can't specify -march=armv6 with clang running on the 64-bit operating system.Thanks, that helped.
I also added this to my Makefile, and was able to compile and run my old programs.
Unfortunatelyis not supported by newer Raspberrys; is there an alternative to updating all my Makefiles? Will there be an update to clang?Code:
-march=armv6
Does armv6 also disable hardware float?
While -march=native should produce a working binary on any platform, in my option not specifying any flag should also work.
Statistics: Posted by ejolson — Mon Dec 22, 2025 3:55 pm