Wednesday, July 13, 2011

Dev-C++ 4.9.9.4 released

Time for an update then. The last version was not-so portable in many ways. This one is. Together with doing a lot of portablizating, I've done a bunch of cleaning up, housekeeping and restyling.




Changes - Version 4.9.9.4 - 12 Juli 2011
  • Added a %path% macro to every path. Use this string in the config files to add relative paths to Compiler Directories.
  • Fixed a bug in the Code Completion Cache Creator (CCCC :D): it used to add 2 copies of every file (one relatively referred to and one referred to with a full path).
  • Cleaned up a few duplicate and unused headers and binaries. The installer is now a whopping 200KiB smaller.
  • Updated the make.exe searcher to check for GCC 4.5.2's make.exe.
  • Added a few install profiles: minimalist and portable.
  • Fixed a few grammar errors.
  • Updated the About window.
  • Added an icon to the installer.


Important notices
  1. The options format has changed. If you want to reuse an old config file (NOT recommended), or, more importantly, when you're overriding Compiler Options in your project, you need to re-set these project settings once and save the project. You'll then have an updated 4.9.9.3 project file.
  2. This version has GCC built-in instead of being an aditional package. It also contains D3D9/10/11, GDI, Win32 and OpenGL headers and libraries in that flavor.
  3. This version is now fully portable. If you also don't want Dev to leave anything behind in the registry, please select "Portable" or "Minimal" in the setup options.


Download
The setup can be downloaded here (includes full and portable versions). The source code can be found here.


Problems
  • FIXED: Need to add some processing code for a few rare output messages new to GCC 4.

Thursday, June 30, 2011

Dev-C++ 4.9.9.3 released

After a couple of years working with this fast and portable C/C++ IDE, I've decided to give it an update. That's because the compiler was getting ancient, and it contained a few bugs here and there. It took a while to get the hang of Delphi, but hereby I present to you Dev-C++ 4.9.9.3:




Changes - Version 4.9.9.3 - 24 Juni 2011
  • Upgraded the Default Compiler to GCC 4.5.2.
  • When encountering an error, Dev will now point you to the error line and (new) positions the cursor next to it.
  • Added new -march optimization options (core2, k8-sse3, amdfam10). Also added 'native' and 'generic'.
  • Cleaned up the explicit -m(some instruction set) options, and added some important ones.
  • Cleaned up the TODO viewer.
  • Fixed a bug in the GCC output parser: it used to read 1 byte too much afer the \0 of each line, causing crashes.
  • Added a column column in the Compiler log.
  • Tweaked the default settings. Enable line numbers by default for example.
  • Fixed a bug in the Compiler Set creator: it didn't feel like storing command line options for each Compiler.
  • Added more UI controls for frequently used GCC flags like -Wall, -Wextra and -pedantic.
  • Moved warning related flag options to a new section called 'Code Warnings'.
  • Removed the silly optimization controls. Now has a proper None/Low/Med/High combobox.
  • Updated the default directory listings to GCC 4.5.2's directories.
  • Removed the [Compiler] section from the ini file. Instead of saving the current Compiler Set twice, it saves a Compiler index to refer to.
  • By default GCC4 omits required runtime DLL's from executables. I told it to link them by default.
  • And some more stuff I forgot about.


Important notices
  1. The options format has changed. If you want to reuse an old config file (NOT recommended), or, more importantly, when you're overriding Compiler Options in your project, you need to re-set these project settings once and save the project. You'll then have an updated 4.9.9.3 project file.
  2. This version has GCC built-in instead of being an aditional package. It also contains D3D9/10/11, GDI, Win32 and OpenGL headers and libraries in that flavor.


Download
The setup can be downloaded here. The source code can be found here.


Problems
  • FIXED: There seems to be a problem with the default relative include paths not being used properly. I seriously need to fix that soon (this weekend probably, after vacation). Together with a few more things to do, I of course also need to post the source code somewhere.