cpuflags returns the appropriate gcc flags to optimise compilation for the current CPU. With modern gcc it is probably best to just set -march=native for at least x86, but cpuflags may still be useful for older and less usual architectures
OS | Architecture | Version |
---|---|---|
NetBSD 10.0 | aarch64 | cpuflags-1.43.tgz |
NetBSD 10.0 | aarch64 | cpuflags-1.43.tgz |
NetBSD 10.0 | aarch64eb | cpuflags-1.43.tgz |
NetBSD 10.0 | aarch64eb | cpuflags-1.43.tgz |
NetBSD 10.0 | alpha | cpuflags-1.43.tgz |
NetBSD 10.0 | alpha | cpuflags-1.43.tgz |
NetBSD 10.0 | earmv6hf | cpuflags-1.43.tgz |
NetBSD 10.0 | earmv6hf | cpuflags-1.43.tgz |
NetBSD 10.0 | earmv6hf | cpuflags-1.43.tgz |
NetBSD 10.0 | earmv7hf | cpuflags-1.43.tgz |
NetBSD 10.0 | earmv7hf | cpuflags-1.43.tgz |
NetBSD 10.0 | earmv7hf | cpuflags-1.43.tgz |
NetBSD 10.0 | i386 | cpuflags-1.43.tgz |
NetBSD 10.0 | i386 | cpuflags-1.43.tgz |
NetBSD 10.0 | m68k | cpuflags-1.43.tgz |
NetBSD 10.0 | powerpc | cpuflags-1.43.tgz |
NetBSD 10.0 | powerpc | cpuflags-1.43.tgz |
NetBSD 10.0 | powerpc | cpuflags-1.43.tgz |
NetBSD 10.0 | sparc64 | cpuflags-1.43.tgz |
NetBSD 10.0 | sparc64 | cpuflags-1.43.tgz |
NetBSD 10.0 | sparc | cpuflags-1.43.tgz |
NetBSD 10.0 | sparc | cpuflags-1.43.tgz |
NetBSD 10.0 | vax | cpuflags-1.43.tgz |
NetBSD 10.0 | vax | cpuflags-1.43.tgz |
NetBSD 10.0 | x86_64 | cpuflags-1.43.tgz |
NetBSD 10.0 | x86_64 | cpuflags-1.43.tgz |
NetBSD 9.0 | aarch64 | cpuflags-1.43.tgz |
NetBSD 9.0 | aarch64 | cpuflags-1.43.tgz |
NetBSD 9.0 | alpha | cpuflags-1.43.tgz |
NetBSD 9.0 | alpha | cpuflags-1.43.tgz |
NetBSD 9.0 | earmv6hf | cpuflags-1.43.tgz |
NetBSD 9.0 | earmv6hf | cpuflags-1.43.tgz |
NetBSD 9.0 | earmv6hf | cpuflags-1.43.tgz |
NetBSD 9.0 | earmv7hf | cpuflags-1.43.tgz |
NetBSD 9.0 | earmv7hf | cpuflags-1.43.tgz |
NetBSD 9.0 | earmv7hf | cpuflags-1.43.tgz |
NetBSD 9.0 | i386 | cpuflags-1.43.tgz |
NetBSD 9.0 | i386 | cpuflags-1.43.tgz |
NetBSD 9.0 | m68k | cpuflags-1.43.tgz |
NetBSD 9.0 | powerpc | cpuflags-1.43.tgz |
NetBSD 9.0 | powerpc | cpuflags-1.43.tgz |
NetBSD 9.0 | powerpc | cpuflags-1.43.tgz |
NetBSD 9.0 | sparc64 | cpuflags-1.43.tgz |
NetBSD 9.0 | sparc64 | cpuflags-1.43.tgz |
NetBSD 9.0 | x86_64 | cpuflags-1.43.tgz |
NetBSD 9.0 | x86_64 | cpuflags-1.43.tgz |
NetBSD 9.3 | x86_64 | cpuflags-1.43.tgz |
Binary packages can be installed with the high-level tool pkgin (which can be installed with pkg_add) or pkg_add(1) (installed by default). The NetBSD packages collection is also designed to permit easy installation from source.
The pkg_admin audit command locates any installed package which has been mentioned in security advisories as having vulnerabilities.
Please note the vulnerabilities database might not be fully accurate, and not every bug is exploitable with every configuration.
Problem reports, updates or suggestions for this package should be reported with send-pr.