I have installed Pi64 from here. I want to compile GCC 8.1.0 as per the instructions here.

However the text of the article sets the target architecture to --with-arch=armv6 which is 32bit?

Should/could I change this to --with-arch=native or something similar for the ability to compile 64 bit applications or should I use --with-arch=armv8-a?

1 Answer 1


I think that just omitting the gcc parameter --with-arch will compile according to your real architecture.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.