[Solved] CFLAGS="What the heck?"
Posted: 14 Apr 2011, 20:59
We have the cflags listed for our 32bit processors in
http://porteus.org/component/content/ar ... ource.html
I haven't found anything that states some sort of standard for the x86_64 architecture. I know what I would like to put in there but if i want my executables to be the most portable across various x86_64 style cpu's. What options should we use.
great resource: I can draw up plenty of conclusions from here. But thought I might get some input from others.
http://en.gentoo-wiki.com/wiki/Safe_Cflags/Intel
http://en.gentoo-wiki.com/wiki/Safe_Cflags/AMD
Maybe:
http://porteus.org/component/content/ar ... ource.html
Code: Select all
[b]CFLAGS="-O3 -march=i486 -mtune=i686"[/b]
great resource: I can draw up plenty of conclusions from here. But thought I might get some input from others.
http://en.gentoo-wiki.com/wiki/Safe_Cflags/Intel
http://en.gentoo-wiki.com/wiki/Safe_Cflags/AMD
Maybe:
Code: Select all
[b]CFLAGS="-O3 -march=k8 -mtune=generic"[/b]