Error: Unsupported target architecture -Paarch64, invoke the "fpc" compiler driver instead.
1. there is no such thing as a freepascal compiler driver. It is a compiler, bar none.