The wiki version of the Gentoo PPC Installation Handbook suggests the GCC option -march for CFLAGS, and even has an example where -march=native is used. But -march is not a valid option for gcc on PowerPC. Using it results in a GCC error. The old handbook used -mcpu and -mtune in the CFLAGS example instead, see http://web.archive.org/web/20120313110559/http://www.gentoo.org/doc/en/handbook/handbook-ppc.xml?full=1 Reproducible: Always
GCC output when invoked with -march=native on PowerPC: $ gcc -march=native tentti.c gcc: error: unrecognized command line option ‘-march=native’
That's currently part of a shared section in the handbook. I'm looking into getting it fixed, thanks for the report!
Any progress on this?
Hello! I have gone back through to old handbooks have upgraded the CFLAGS values for all the Handbooks hosted on the wiki. :) Fixed as of this revision: https://wiki.gentoo.org/index.php?title=Handbook:Parts/Installation/Stage&oldid=619424