Really cool, thanks a lot Jeff. I know that my CPU supports the feature, as I can test it using Visual Studio on windows, but when I run the command you specified on Ubuntu wunning under Virtualbox, I do not see a POPCNT definition. Is it possible that g++ doesn't detect the feature because it is running in a virtual machine? -- View this message in context: http://gcc.1065356.n5.nabble.com/Check-for-command-line-option-in-my-header-file-tp1282119p1282149.html Sent from the gcc - Help mailing list archive at Nabble.com.