From: zwz <zha...@gm...> - 2010-06-14 01:59:31
|
JonY <jo...@us...> writes: > On 6/13/2010 20:46, zwz wrote: >> JonY<jo...@us...> writes: >> >>> On 6/13/2010 14:47, zwz wrote: >>>> Hi, all >>>> I tried to build qt 4.7 beta by gcc 4.5.0. >>>> The output "qmake.exe" does not run for an error "0xc0000005". >>>> And I know that I have to add "-Wl,--enable-runtime-pseudo-reloc-v2" in >>>> the makefiles to address the problem. >>>> >>>> But there are many makefiles through out all the directories of qt, and >>>> I definitely do not want to modify them one by one. >>>> >>>> So how do you deal with that? >>>> >>>> I find a potential solution, that is to add it in the specs file of gcc >>>> once forever. But I do not know exactly how to do it. >>> >>> Hi, >>> >>> update your binutils to make --enable-runtime-pseudo-reloc-v2 default. >>> >>> You may need to build it from source, I'm not sure if the binutils >>> binaries on the downloads site has been updated. >>> >> I guess not. I am using "binutils-2.20.1-2-mingw32-bin" from the site. >> >> What should I install to build it from source? > > Hi, > > I think 2.20.1 is new enough, but I'm not sure. To build binutils, you > need to have atleast zlib installed. > Yes, it is latest. But it is not built default with --enable-runtime-pseudo-reloc-v2. I am wondering why it is not built so. |