New CPUTYPE variables

John Marino rearranged how GCC5 handles CPUTYPE settings.  If you are specifically setting the target CPU when compiling, his commit will give you an exact list of what to target.

Note that I am not saying another architecture – this is all x86_64.  I also don’t recommend doing this unless you have a specific use for it – compiler overoptimizations often create more problems than they fix.

2 Replies to “New CPUTYPE variables”

  1. Worth noting is that gcc also supports “-march=native” which means that gcc will figure out which CPUTYPE to use, instead of the user.

  2. you can set CPUTYPE=native to enable that. Plus if the value of CPUTYPE is invalid, it sets it to native.

Comments are closed.

Your post must include a link to this post.

How does this work?
Write a response on your own website and include a link to this post. Then submit your response’s URL here. Your response may appear here after moderation. To update or remove it, edit or delete your original post and submit the same URL again. Learn more about Webmentions.