Whether you’re looking to enhance the functionality of your app or optimize its performance, Ampere offers you the software tools and resources to bring out the best in your development.
The new Ampere Gcc 8.4 and 9.3 compilers have the latest bug fixes and support for Ampere’s Altra™ processors. These compilers will default to targeting the Ampere Altra™ processor (mcpu=neoverse-n1), supporting the new instructions and tuning for the microarchitecture.
The ‘sysroot’ compilers provide a set of optimized libraries in the `.tar.gz` archive: these can be linked statically with your program or are available for dynamically linked executable with a custom library search path. The ‘nosysroot’ compiler is intended to build binaries that use the libraries on the system you are running on in the system search path—it acts as a drop-in replacement for your system compiler.
If you’re looking for the best performance, try the ‘-Ofast’ (highest optimization setting) and ‘-flto’ (link-time optimizations) options.
For Linux aarch64 hosted compilers and tools:
For Linux x86-64 hosted cross-compilers and tools targeting aarch64:
|Operating System||Recommended Version|
|Oracle Linux||>= 7.5|
|Red Hat Enterprise Linux (RHEL)||>= 7.5|
|SUSE Linux||>= 15|