User forums > General (but related to Code::Blocks)
TDM-GCC 4.5 series (Latest: 4.5.2 - 2011-03-27)
TDragon:
For wxWidgets, I added RCFLAGS to makefile.gcc per the attached patch and then added RCFLAGS="-F pe-i386" to the wxWidgets make command. This is the equivalent of "-m32" for windres, the resource compiler.
For Code::Blocks, there is no RCFLAGS equivalent so I had to use a custom build command for the .rc files: $rescomp -F pe-i386 -i $file -J rc -o $resource_output -O coff $res_includes
[attachment deleted by admin]
billyonthemountain:
Thanks, it works correctly now... both wx and C::B :)
There one issue remaining :
In the binutils bundled with the mingw64/multilib version, the strip utility doesn't accept wildcards but the mingw32 one does, which can be problematic when running the update.bat script... An easy workaround is of course to keep a copy of that 2nd strip.exe somewhere in the PATH, but not really elegant... :?
sankarbose:
--- Quote from: reckless on June 16, 2010, 12:19:57 pm ---might explain why it works here my binutils where patched to allways use runtime-pseudo-reloc-v2 as default.
xerces examples work with that.
--- End quote ---
can you tell me how should i do it ??
reckless:
LDFLAGS="-Wl,--enable-runtime-pseudo-reloc-v2".
the l is not a 1 (lowercase L) that one had me stomped for a while :lol:
sankarbose:
Hi reckless
thanks for the answer but i like to know where should i add the ld flag so that it uses the --enable-runtime-pseudo-reloc-v2 option all the time ?
is it in the ldscripts files if yes where should i add the line ?
--- Quote ---the l is not a 1 (lowercase L) that one had me stomped for a while Laughing
--- End quote ---
Ha ha i had also quite a Time with this one. :lol:
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version