Re: [Rd] patch about mingwbuild 4.9.1

2014-07-20 Thread Yu Gong
thanks for you answer, I didn't realize mingw-w64 already change default code model.  I found one more file also need change,otherwise package build will fail. the file is  share/make/winshlib.mk .   $(NM) $^ | $(SED) -n $(SYMPAT)|$(SED) -n '/.refptr./d'   | $(SED) -n 's/.refptr*//g'   >>

Re: [Rd] patch about mingwbuild 4.9.1

2014-07-20 Thread Prof Brian Ripley
I think you used the wrong code model: these come from defaulting to the medium-code model intended for x64 Cygwin -- see https://gcc.gnu.org/ml/gcc-patches/2013-03/msg00858.html . Also, please follow the posting guide and do not send HTML: your message arrived rather garbled. I've added a m

[Rd] patch about mingwbuild 4.9.1

2014-07-18 Thread Yu Gong
recently I used gcc 4.9.1 (http://sourceforge.net/projects/mingw-w64/files/Toolchains targetting Win64/Personal Builds/mingw-builds/)on windows to build R,but failed when link R.dll ,it report linker status 5.  after some digging, I found when use gcc 4.9.1 64 bit on windows there are lots of