I'm having trouble getting dev-c++ to create a 32bit executable.
I'm running on Windows Vista. Dev-C++ is version 5.10
I have looked in tools->compiler options and selected a 32 bit profile (TDM-GCC 4.8.1 32-bit Debug).
I have also selected:
tools->compiler->Settings->Code Generation->Optimize (-march) = This CPU
tools->compiler->Settings->Code Generation->Pointer Width(-mx) = 32
I also added -m32 to the "tools->compiler->Settings->General->Add compiler commands". This didn't actually get passed to any of the G++ invocations!
I still can't generate an executable that runs. WinVista keeps saying that the executable is 'not compatible with this version of Windows, check for x86 or x64'
Any other options I should be setting?
Last edit: Paul Carew 2015-04-14
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I'm having trouble getting dev-c++ to create a 32bit executable.
I'm running on Windows Vista. Dev-C++ is version 5.10
I have looked in tools->compiler options and selected a 32 bit profile (TDM-GCC 4.8.1 32-bit Debug).
I have also selected:
tools->compiler->Settings->Code Generation->Optimize (-march) = This CPU
tools->compiler->Settings->Code Generation->Pointer Width(-mx) = 32
I also added -m32 to the "tools->compiler->Settings->General->Add compiler commands". This didn't actually get passed to any of the G++ invocations!
I still can't generate an executable that runs. WinVista keeps saying that the executable is 'not compatible with this version of Windows, check for x86 or x64'
Any other options I should be setting?
Last edit: Paul Carew 2015-04-14