That's why I use it.That means Dev-C++ 4 is much better than Dev-C++ 4.9.9.2!
That's why I use it.That means Dev-C++ 4 is much better than Dev-C++ 4.9.9.2!
dwk
Seek and ye shall find. quaere et invenies.
"Simplicity does not precede complexity, but follows it." -- Alan Perlis
"Testing can only prove the presence of bugs, not their absence." -- Edsger Dijkstra
"The only real mistake is the one from which we learn nothing." -- John Powell
Other boards: DaniWeb, TPS
Unofficial Wiki FAQ: cpwiki.sf.net
My website: http://dwks.theprogrammingsite.com/
Projects: codeform, xuni, atlantis, nort, etc.
UPX and strip both make programs from 450Kb-s to 250Kb-s.Originally Posted by laserlight
So looks like I'm going over to Dev-C++ 4!
The only thing that annoys me about Dev-C++ 4 is that you can only compile projects.
Well I tested the Dev-C++ 4 and I always get an error: Error in resource file
Never mind, I found the problem. It made a resource file:
Problem was that I didnt have Icon folder in my Dev-C++ folder.Code:500 ICON MOVEABLE PURE LOADONCALL DISCARDABLE "C:/PROGRAMS/DEV-C++/Icon/MAINICON.ICO"
No, it doesnt. As an IDE, Dev-C++ 4.9.9.2 is better than Dev-C++ 4. The compiler it uses by default, the MinGW port of GCC 3.4.2, is newer and hence updated to the standards compared to the MinGW port of GCC 2.95, which Dev-C++ 4 uses. It isnt the IDE, but the compiler set that is causing this size increase. I dont understand why exactly, but if you read the FAQ that I linked to, it is probably something legal.That means Dev-C++ 4 is much better than Dev-C++ 4.9.9.2!
But unless you have a special need to worry about executable size, this shouldnt be much of a problem since the executable size penalty is only incurred once. This means that doubling the code in a hello world program isnt going to double the executable size - so for more complex programs, the size penalty becomes less severe.
You should use strip first, and then UPX. The resulting executable should be under 100 KB, in my case for a hello world program it is around 74 KB.UPX and strip both make programs from 450Kb-s to 250Kb-s.
As I said, for the most part, executable size generated isnt everything. It is your choice in the end, but you should realise that you'll be using an outdated IDE where a new and improved one is available, and you'll be using an outdated compiler set that may hinder your development in the long run.So looks like I'm going over to Dev-C++ 4!
Last edited by laserlight; 09-19-2005 at 03:31 AM.
Look up a C++ Reference and learn How To Ask Questions The Smart WayOriginally Posted by Bjarne Stroustrup (2000-10-14)