> I am really new at C++ so can't figure it out why is it so different. > Any idea? -O stands for Optimize :) (mostly for __speed__ and a bit for size) -O2 may still improve performance as well as various options (interprocedural optimizations, stack frame, disabling exceptions...)
the reason of the presence of such a flag is that the optimized program is generally less 'debug-able' because the instructions that you type in your C++ program are compiled with less fidelity but more performance in mind (still 'doing the same thing') HIH Armel _______________________________________________ help-gplusplus mailing list help-gplusplus@gnu.org http://lists.gnu.org/mailman/listinfo/help-gplusplus