Menu

Latest Dev-Cpp with 32-bit GCC ?

DV
2015-09-17
2015-09-21
  • DV

    DV - 2015-09-17

    Hi!
    The latest versions of Dev-Cpp come with TDM-GCC x64 which is not a good choice for 32-bit Windows.
    Is there any instruction of "assembling" latest version Dev-Cpp with 32-bit GCC to make them work together?
    In particular, if I take "Dev-Cpp 5.11 No Compiler Portable.7z" as the IDE, is http://sourceforge.net/projects/orwelldevcpp/files/Compilers/MinGW/MinGW%204.8.1.7z/download the latest compatible compiler available? It seems quite old.

     

    Last edit: DV 2015-09-17
  • DV

    DV - 2015-09-18

    OK, so here are the steps I've done to be able to use latest portable version of Dev-Cpp with the 32-bit MinGW mentioned above:
    1. Download latest portable version of Dev-Cpp without compiler: currently it is "Dev-Cpp 5.11 No Compiler Portable.7z";
    2. Download latest compatible MinGW: currently it is "MinGW 4.8.1.7z";
    3. Extract the downloaded Dev-Cpp into a local folder, e.g. into "C:\Dev-Cpp" (so you'll have "devcpp.exe" and other files directly under "C:\Dev-Cpp");
    4. Extract the downloaded MinGW into the Dev-Cpp folder, e.g. "C:\Dev-Cpp\MinGW32" (so you'll have "bin", "include" and other folders directly under "C:\Dev-Cpp\MinGW32");
    5. Run "devcppPortable.exe" or "devcpp.exe" and go to Tools -> Compiler Options... If the "Compiler set to configure" is empty, press the "++" button (this button shows a hint "Find and automatically configure compilers"), then press OK. After that you shoud have "MinGW GCC 4.8.1 32-bit" items in the Compiler set.
    Now you are able to compile using MinGW GCC.
    I remember Dev-Cpp featured such thing as caching of C++ include headers, but I'm not sure how it can be initiated manually.

     
  • DV

    DV - 2015-09-21

    As for another compiler, I've succeeded to use this one which is GCC 5.1.0:
    http://sourceforge.net/projects/tdm-gcc/files/TDM-GCC%20Installer/
    I've installed it into "C:\TDM-GCC", then from Tools -> Compiler Options... I've manually added this folder "C:\TDM-GCC" - and Dev-Cpp has detected it as "TDM-GCC 5.1.0".
    The only thing left was to specify "gdb32.exe" instead of "gdb.exe" in the Programs tab of the Compiler Options. (Because now the executable's name is "gdb32.exe".)

     

Log in to post a comment.