From: Miroslav F. <cx...@nt...> - 2003-11-12 10:50:09
|
> For a small utility program, I would agree it is nice to have only one executable. But let's be realistic, if you are "releasing" your program to the world, at the BARE minimum you are going to distribute the exe and readme.txt. That is already two files there, so you will have to zip them up or something equivalent. At that point what is the big deal of adding a 3rd file? > > Additionally, any user that couldn't grasp the concept of putting the exe and the dll in the same directory probably wouldn't be able to grasp the concept of making their own start menu/desktop shortcut to the executable and/or adding it to their path. Meaning you'd need an installer program too. > > It really seems to me that you are making a mountain out of a mole hill here. It is not the most important thing in the world, I agree. But it is downgrade from my current experience.... > > These are in fact two things that make mingw a toy rather than tool for > > me right now. Inability to eliminate dead code when linking (missing > > working -gc-sections option in linker I believe) and inability to provide > > single .exe solution... (but this is a problem of just multithreaded apps I > > believe). > > I suppose if it makes it a toy to you then who is to argue, but tt doesn't seem a toy to me, I use it on a project with 100k lines of code using a LOT of templates, works great. No complaints here. I develop some little bit larger projects... :) (about 400k lines, templates, exceptions and RTTI all over the place :) > > Well, there is third problem - mingw is up to 10 times slower than MSC. > > But I hope GC3.4 with precompiled headers will solve this problem, at least > > partially. > > I agree the slow compile times are marginally annoying, but it is only noticeable, to me at least, when doing something like a rebuild all. On a build that only needs to compile 1 file it is a matter of 12seconds vs 2 seconds. Yes a large factor, but still not much of a wait. Granted, I run mingw with 1gig ram and dual processors, I suppose with a much more resource starved system the slowness might be insanely annoying. Well, complete rebuild takes 2 minutes on MSC6.0 and 45 minutes on mingw. And I often need to do complete rebuilds... But it seems like average preprocessed file has about 40000 lines, from which 39000 lines are headers. I hope GCC3.4 might solve the issue... Mirek |