NEW HERE? USE "AFORUM20" TO GET GET 20 % OFF CLAIM OFFER

UK: +44 748 007-0908 USA: +1 917 810-5386
My Orders
Register
Order Now

GCC compiler optimization report

            What optimizations will the gcc compiler perform on your code when you compile your code using the compilation flags “-O0”, “-O1”, “-O2”, and “-O3” respectively? Compile the C code provided with the compilation flags “-O0”, “-O1”, “-O2”, and “-O3” respectively and report the size (in bytes) of the executables produced by the three compilation approaches. Run the executables you get and compare the performance of different executables. Explain why the performance is different.