Usage
Command-Line Options
- --cpu <name>
- Show flags for given CPU identifier <name>.
- automatic detection
- --comp <name>
- Show flags for given compiler <name>.
- cc
- --showcpu
- Show CPU identifier.
- off
- --[no]cflags
- (Don't) print general architecture flags for compiler.
- on
- --[no]opt
- (Don't) print optimisation flags for compiler.
- off
- -32, -64
- Choose between 32 or 64 bit system.
- maximal
- -h, --help
- Print this text.
- -v, --verbose [int]
- Define verbosity level.
- 0
- -V, --version
- Print version number of CPUFlags.
Supported Systems and Compilers
- Linux:
- gcc-2.x, gcc-3.x, icc-[5678], pgi, pathcc
- Solaris:
- gcc-2.x, gcc-3.x, SunCC-[67], kcc
- AIX:
- gcc, xlC
- IRIX:
- gcc, Mips-CC
- Darwin:
- gcc, xlc
- Tru64:
- Compaq-cc
- HP-UX:
- HP Ansi C++ compiler
- Win32:
- Visual C++
Supported Processors
- Linux:
- i386, i486, i586, pentium, pentium-mmx, pentium-pro, p2, p3, p3-sse, p3-centrino, p3-xeon, p4, p4-(w|p|n|f), k6, k6-2, k6-3, athlon, duron, athlon-tbird, athlon-xp, duron-xp, opteron, via-c3a, ppc750, ppc7450
- Solaris:
- ultra1, ultra2, ultra3, ultra3cu
- AIX:
- power4
- IRIX:
- mips4
- Darwin:
- ppc, ppc6XX, ppc750, ppc7450, ppc970
- True64:
- EV5, EV5.6, EV6, EV6.7
- HP-UX:
- PA7x00 und PA8x00
- Win32:
- i386, i486, i586, pentium, pentium-mmx, pentium-pro, p2, p3, p3-sse, p3-centrino, p3-xeon, p4, p4-(w|p|n|f), k6, k6-2, k6-3, athlon, duron, athlon-tbird, athlon-xp, duron-xp, opteron, via-c3a