I have moved from gcc version 4.0.3 to 4.3.3 and realized that -mfpmath was set to sse by default in gcc 4.3.3. This actually caused errors in my application.
In 4.0.3 the -mfpmath was 387.
I want to know how I can get all the default options enabled by gcc for a given version.
How can I dump set of all options used by gcc while compiling.
This enables me to compare version 4.0.3 vs 4.3.3.
In general it will be great if I can know a comprehensive list of things need to be checked before going for a version change in gcc .(As this has effect on performance and functionality.)
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…