That's why I use it. :)Quote:
That means Dev-C++ 4 is much better than Dev-C++ 4.9.9.2!
Printable View
That's why I use it. :)Quote:
That means Dev-C++ 4 is much better than Dev-C++ 4.9.9.2!
UPX and strip both make programs from 450Kb-s to 250Kb-s.Quote:
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.Quote:
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.Quote:
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.Quote:
So looks like I'm going over to Dev-C++ 4!