Dev C in Windows 8


With the latest release of windows 8 a new GNU has also been created and due to which many compilers might not work properly with the new GNU.

Due to change in the GNU of windows 8 new versions of compilers are coded for C and C++ program to successfully run. Most of the users might get following error while using the older version of dev-cpp in windows 8 which will generate the following error  -:



Compiler: Default compilerExecuting  gcc.exe...gcc.exe "C:\Users\James\Documents\Homework\TA_CPRE_185\counter.c" -o "C:\Users\James\Documents\Homework\TA_CPRE_185\counter.exe"    -I"C:\Dev-Cpp\include"   -L"C:\Dev-Cpp\lib"
gcc.exe: Internal error: Aborted (program collect2)Please submit a full bug report.See <URL:http://www.mingw.org/bugs.shtml> for instructions. Execution terminatedCompilation successful

 

This error is generated due to the use of Older version of MinGW(Minimalist GNU for windows) and TDM-GCC in Windows 8

You can download newer version of windows 8 from the following links -:

Link to Download new Dev-Cpp 5.3.0.3 TDM-GCC x64 4.6.1 for windows 8 is here

Download :

  •  The setup which includes MinGW32 4.7.0 can be downloaded here.
  •  The setup which includes TDM-GCC x64 4.6.1 can be downloaded here.
  • The portable version which includes MinGW32 4.7.0 can be downloaded here.
  • The portable version which includes TDM-GCC x64 4.6.1 can be downloaded here.
  • The setup which does not include a compiler can be downloaded here.


All Dev-C++ editions can be updated using the No Compiler setups/zips.

Important notices 


  • When you get errors on startup after upgrading, especially when Dev-C++ mentions 'TCppParser.Load', read this before commenting/reporting.
  • This version has GCC built-in instead of being an aditional package. It also contains, among others, D3D9/10/11, GDI, Win32 and OpenGL headers and libraries in that flavor.
  • For ultimate portable programming, please launch devcppPortable.exe located in the installation folder of the portable version. This launcher will tell Dev-C++ to save its configuration files in the same folder as the executable.
  • If you're getting 'Unsupported compression method' errors when extracting the portable version, please update your archiving program. The archive uses LMZA2 compression, which was added to WinRAR 3.91 and 7zip 9.04 somwhere in 2009. The latter is just as free as Dev-C++, so nothing is holding you back to extract it.


Choosing between 32bit and 64bit

·         The 64bit compiler will also run op 32bit computers. Not problem at all.

·         The 64bit compiler can do everything the 32bit compiler can, including creating standard 32bit executables.

·         The 64bit compiler can do stuff the 32bit compiler can't, like creating 64bit executables. It also comes with a lot more headers and libraries.

·         There is no single reason to download the 32bit version except for maybe file size, marginally longer compiling time, or in case you have to use that specific compiler for any reason (regression problems for example).

Compiling for 32bit using TDM-GCC x64

·         To force 32bit on all new projects and non-project compiles, go to Tools >> Compiler Options and select the 'TDM-GCC 32bit' profile. This profile will pass -m32 and use lib32 by default.

·         To force 32bit on already created projects, go to Project >> Project Options >> Compiler and select the 'TDM-GCC 32bit' compiler profile.


 



About the author

Admin
Donec non enim in turpis pulvinar facilisis. Ut felis. Praesent dapibus, neque id cursus faucibus. Aenean fermentum, eget tincidunt.

2 comments:

Template by Clairvo Yance
Copyright © 2012 Enigma of IT and Blogger Themes.