If I compile plain C code using icc 17.0.1, it creates executable (if stripped) of 105k size, while the gcc (6.3.0 and 4.8.5) creates 8k size executable. The executable compiled with icc is also about 20% slower. Also, for some reason icc unnecessarily links to libdl.so and libgcc_s.so libraries.
I was under impression icc was meant to produce better performing executables than gcc ..
Is there anything I can do here with icc to get a better-performing, smaller executable, than with gcc ?