smartass Apprentice
Joined: 04 Jul 2011 Posts: 189 Location: right behind you ... (you did turn around, didn't you?)
|
Posted: Fri Jan 18, 2013 9:07 am Post subject: |
|
|
Even if there was such a list, it would have to be regularly updated as new versions of the packages and/or GCC break/improve compatibility with these flags.
As that would be very demanding and time consuming, it is unlikely that such a list would exist and if it existed, it could hardly stay up to date.
Also, such a list would be very architecture and maybe even processor dependent, so it couldn't be used by everyone.
A better approach is to let the configuration tools for each package to use the CFLAGS that are known to work, with the addition of your -march and -O2 and possibly some simple optimization like -fomit-framepointer.
As LTO becomes more standard, most packages will use it anyways if it's available. Even now some packages have the lto USE flag (in some overlays).
Use of openmp is usually controlled by the openmp USE flag, which can be enabled for packages that support it. |
|