Closed Artoria2e5 closed 5 years ago
The /G options for processor (/G1 and /G2) seem to have been dropped, they aren't listed for VS2012 and later at https://msdn.microsoft.com/en-us/library/fwkeyyhe(v=vs.110).aspx. You probably got the MSDN quote from this page: https://msdn.microsoft.com/en-us/library/h66s5s0e(v=vs.100).aspx which also does not list versions > VS2010. The /G options that are currently mapped by cccl (/G3 /G4 /G5 /G6) also seem to have been dropped by Visual C++ as they aren't documented.
I'm inclined to consider adding in any obvious mappings that are needed and ignore all other -m options. This will keep to the stated goal of keeping cccl simple and lightweight and any complex tuning of flags can of course be done by the user of cccl.
@Artoria2e5 if you have a pull request to implement this please submit it. Otherwise, let's close this issue.
According to MSDN,
It seems to show that
/G
is more like-mtune
.