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? _____ If you reply to this email, your message will be added to the discussion below: http://gcc.1065356.n5.nabble.com/Check-for-command-line-option-in-my-header- file-tp1282119p1282144.html To unsubscribe from Check for command line option in my header file, click <http://gcc.1065356.n5.nabble.com/template/NamlServlet.jtp?macro=unsubscribe _by_code&node=1282119&code=Z3JlZzdtZHBAZ21haWwuY29tfDEyODIxMTl8MTg5Mzc5MDg3N g==> here. NAML <http://gcc.1065356.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewe r&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNam espace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.Nod eNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emai ls%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml> -- View this message in context: http://gcc.1065356.n5.nabble.com/Check-for-command-line-option-in-my-header-file-tp1282119p1282148.html Sent from the gcc - Help mailing list archive at Nabble.com.