Increasing Optimization Level g++
问题 I'm trying to compile a relatively simple c++ program using cygwin and g++. I can compile it using the following command: g++ -o main main.cpp -lgmpxx -lgmp (note: the last two reflect the inclusion of the gmp libraries). I'd like to increase the level of optimization that this is compiled with. I thought that I could just change this command line to: g++ -o3 main main.cpp -lgmpxx -lgmp but this totally blows up. I get about two full screens of error messages. How can I increase the