devel/cpuflags - The NetBSD Packages Collection

Determine compiler flags to best target current cpu

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

Build dependencies

pkgtools/cwrappers

Runtime dependencies

(none)

Binary packages

OSArchitectureVersion
NetBSD 8.0earmv7hfcpuflags-1.43.tgz
NetBSD 8.0earmv7hfcpuflags-1.43.tgz
NetBSD 8.0earmv7hfcpuflags-1.43.tgz
NetBSD 8.0i386cpuflags-1.43.tgz
NetBSD 8.0i386cpuflags-1.43.tgz
NetBSD 8.0i386cpuflags-1.43.tgz
NetBSD 8.0powerpccpuflags-1.43.tgz
NetBSD 8.0powerpccpuflags-1.43.tgz
NetBSD 8.0powerpccpuflags-1.43.tgz
NetBSD 8.0powerpccpuflags-1.43.tgz
NetBSD 8.0x86_64cpuflags-1.43.tgz
NetBSD 8.0x86_64cpuflags-1.43.tgz
NetBSD 8.0x86_64cpuflags-1.43.tgz
NetBSD 9.0aarch64cpuflags-1.43.tgz
NetBSD 9.0aarch64cpuflags-1.43.tgz
NetBSD 9.0aarch64cpuflags-1.43.tgz
NetBSD 9.0alphacpuflags-1.43.tgz
NetBSD 9.0alphacpuflags-1.43.tgz
NetBSD 9.0alphacpuflags-1.43.tgz
NetBSD 9.0earmcpuflags-1.43.tgz
NetBSD 9.0earmcpuflags-1.43.tgz
NetBSD 9.0earmv6hfcpuflags-1.43.tgz
NetBSD 9.0earmv6hfcpuflags-1.43.tgz
NetBSD 9.0earmv6hfcpuflags-1.43.tgz
NetBSD 9.0earmv6hfcpuflags-1.43.tgz
NetBSD 9.0earmv7hfcpuflags-1.43.tgz
NetBSD 9.0earmv7hfcpuflags-1.43.tgz
NetBSD 9.0earmv7hfcpuflags-1.43.tgz
NetBSD 9.0earmv7hfcpuflags-1.43.tgz
NetBSD 9.0earmv7hfcpuflags-1.43.tgz
NetBSD 9.0i386cpuflags-1.43.tgz
NetBSD 9.0i386cpuflags-1.43.tgz
NetBSD 9.0i386cpuflags-1.43.tgz
NetBSD 9.0mips64ebcpuflags-1.43.tgz
NetBSD 9.0mips64ebcpuflags-1.43.tgz
NetBSD 9.0mips64ebcpuflags-1.43.tgz
NetBSD 9.0powerpccpuflags-1.43.tgz
NetBSD 9.0powerpccpuflags-1.43.tgz
NetBSD 9.0powerpccpuflags-1.43.tgz
NetBSD 9.0sparc64cpuflags-1.43.tgz
NetBSD 9.0sparc64cpuflags-1.43.tgz
NetBSD 9.0sparc64cpuflags-1.43.tgz
NetBSD 9.0sparc64cpuflags-1.43.tgz
NetBSD 9.0sparccpuflags-1.43.tgz
NetBSD 9.0sparccpuflags-1.43.tgz
NetBSD 9.0sparccpuflags-1.43.tgz
NetBSD 9.0x86_64cpuflags-1.43.tgz
NetBSD 9.0x86_64cpuflags-1.43.tgz
NetBSD 9.0x86_64cpuflags-1.43.tgz
NetBSD 9.0x86_64cpuflags-1.43.tgz
NetBSD 9.0x86_64cpuflags-1.43.tgz
NetBSD 9.0x86_64cpuflags-1.43.tgz
NetBSD 9.0x86_64cpuflags-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.

Available build options

(none)

Known vulnerabilities

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.