|
From: Wu Y. <ad...@ne...> - 2003-12-09 04:45:25
|
Although GCC is my primary compiler, I never think GCC is superior to Visual C++. I love it because it is cross-platform and free. MSVC 6 is not as good as GCC, in that it has poor template support and is not standards-compliant, but it is a very old product. And I have hardly seen GCC win on pure C code for efficiency and code compactness, let alone C/C++ compilation speed, when compared with MSVC The real advantage of GCC is that it is the de facto standard for cross-platform development, and it conforms to the standards quite well. And its code performance is among the best (but I am sure it is not THE best). If your code uses STL, then the size difference can be quite easily attributed to libstdc++-v3. You can see the HelloWorld example show already a size difference of 148.5KB. Best regards, Wu Yongwei --- Original Message from Don HO --- I've never tried to compile the HelloWorld prog to compare among the different versions. That's the 1st time that I build the same project with different compilers. Since I always think GCC is superior to VC++, I was shocked by the fact. That's why I think this amount (160 KB almost, but not 60 KB event 100KB) is huge. Don HO Je bouffe donc je suis |