Home » U++ TheIDE » U++ TheIDE: Compiling, Linking, Debugging of your packages » Problem compiling 32-bit apps with 64-bit MINGW
Problem compiling 32-bit apps with 64-bit MINGW [message #44565] |
Wed, 01 April 2015 04:42 |
Novo
Messages: 1361 Registered: December 2006
|
Ultimate Contributor |
|
|
I'm using TDM-GCC-64 (64-bit compiler on 64-bit Windows) and trying to compile a 32-bit version of my app.
I'm using the -m32 option with both compiler and linker.
The problem is with the resource compiler. It compiles into 64-bit resources.
windres.exe takes a --target option, which can be one from the list: pe-x86-64 pei-x86-64 pe-bigobj-x86-64 elf64-x86-64 elf64-l1om elf64-k1om pe-i386 pei-i386 elf32-i386 elf64-little elf64-big elf32-little elf32-big srec symbolsrec verilog tekhex binary ihex.
There is no way to pass an option to the resource compiler, and there is only one GCC builder (I believe, TheIDE use to have both 32 and 64 bit builders for GCC).
Is there a way to fix that? I really need MINGW because I need GCC symbol demangling.
TIA
Regards,
Novo
[Updated on: Wed, 01 April 2015 04:44] Report message to a moderator
|
|
|
|
|
Problem compiling 32-bit apps with 64-bit MINGW
By: Novo on Wed, 01 April 2015 04:42
|
|
|
Re: Problem compiling 32-bit apps with 64-bit MINGW
By: koldo on Wed, 01 April 2015 12:13
|
|
|
Re: Problem compiling 32-bit apps with 64-bit MINGW
By: Novo on Wed, 01 April 2015 15:41
|
|
|
Re: Problem compiling 32-bit apps with 64-bit MINGW
By: mirek on Wed, 01 April 2015 17:59
|
|
|
Re: Problem compiling 32-bit apps with 64-bit MINGW
By: Novo on Sat, 19 December 2015 05:28
|
|
|
Re: Problem compiling 32-bit apps with 64-bit MINGW
By: omari on Sat, 19 December 2015 16:13
|
|
|
Re: Problem compiling 32-bit apps with 64-bit MINGW
By: mirek on Mon, 18 January 2016 10:19
|
|
|
Re: Problem compiling 32-bit apps with 64-bit MINGW
By: pfsdanny on Fri, 09 September 2016 09:58
|
|
|
Re: Problem compiling 32-bit apps with 64-bit MINGW
By: Melek on Mon, 23 January 2017 17:37
|
|
|
Re: Problem compiling 32-bit apps with 64-bit MINGW
By: mirek on Tue, 24 January 2017 00:23
|
|
|
Re: Problem compiling 32-bit apps with 64-bit MINGW
By: Melek on Tue, 24 January 2017 02:55
|
|
|
Re: Problem compiling 32-bit apps with 64-bit MINGW
By: Melek on Tue, 24 January 2017 04:13
|
|
|
Re: Problem compiling 32-bit apps with 64-bit MINGW
By: Melek on Tue, 24 January 2017 02:59
|
|
|
Re: Problem compiling 32-bit apps with 64-bit MINGW
By: mirek on Tue, 24 January 2017 08:10
|
|
|
Re: Problem compiling 32-bit apps with 64-bit MINGW
By: Melek on Tue, 24 January 2017 22:28
|
|
|
Re: Problem compiling 32-bit apps with 64-bit MINGW
By: mirek on Wed, 25 January 2017 08:57
|
|
|
Re: Problem compiling 32-bit apps with 64-bit MINGW
By: Melek on Wed, 25 January 2017 22:16
|
|
|
Re: Problem compiling 32-bit apps with 64-bit MINGW
By: Melek on Thu, 26 January 2017 22:12
|
|
|
Re: Problem compiling 32-bit apps with 64-bit MINGW
By: mr_ped on Fri, 27 January 2017 02:05
|
Goto Forum:
Current Time: Wed Jun 05 10:31:11 CEST 2024
Total time taken to generate the page: 0.02263 seconds
|