search for: nm_filter

Displaying 14 results from an estimated 14 matches for "nm_filter".

2016 Aug 07
1
Quote symbol names under EXPORTS in tmp.def on Windows
...e quotes around symbol names in tmp.def), I was able to compile code without issue and get symbols like BASE (or other keywords) exported. Kyle ## ${R_HOME}/share/make/winshlib.mk 6a7,8 > ADDQU = 's/[^ ][^ ]*/"&"/g' > 17c19 < $(NM) $^ | $(SED) -n $(SYMPAT) $(NM_FILTER) >> tmp.def; \ --- > $(NM) $^ | $(SED) -n $(SYMPAT) $(NM_FILTER) | $(SED) $(ADDQU) >> tmp.def; \ code <- ' void BASE(int *nin, double *x) { int n = nin[0]; for (int i=0; i<n; i++) x[i] = x[i] * x[i]; } void rd(int *nin, double *x) { int n = nin[0]; for...
2015 Mar 11
2
Notes on building a gcc toolchain for Rtools (but not multilib)
...t bug is still there, >> but the rest of make-check all passed with flying colors, as did >> building 'microbenchmark' from source (with all the other needed >> packages, including Rcpp and Hsiu-Kheurn's change to NM was *not* >> used). >> ... > > The NM_FILTER change seems to be needed only when compiling C++ code > with -std=c++11 or -std=gnu++11. > > Even though the current CRAN policy doesn't allow the C++11 standard, > it would still be useful to document this, perhaps in the Writing R > Extensions manual. > > - Hsiu-Khuern...
2015 Mar 11
2
Notes on building a gcc toolchain for Rtools (but not multilib)
On Tue, Mar 10, 2015 at 3:17 PM, Duncan Murdoch <murdoch.duncan at gmail.com> wrote: > > That's a bug. I haven't tracked down what's going wrong with our > regular code. If I can't find that and fix it soon, I'll make Internet2 > the default. For now, you can do it yourself using the instructions on > ?setInternet2. > > Duncan Murdoch I
2015 Mar 11
1
Notes on building a gcc toolchain for Rtools (but not multilib)
...ake-check all passed with flying colors, as did >>>> building 'microbenchmark' from source (with all the other needed >>>> packages, including Rcpp and Hsiu-Kheurn's change to NM was *not* >>>> used). >>>> ... >>> >>> The NM_FILTER change seems to be needed only when compiling C++ code >>> with -std=c++11 or -std=gnu++11. >>> >>> Even though the current CRAN policy doesn't allow the C++11 standard, >>> it would still be useful to document this, perhaps in the Writing R >>> Exte...
2015 Mar 10
1
Notes on building a gcc toolchain for Rtools (but not multilib)
...-std=gnu++11 also works around this * Maybe Rcpp needs to guard against this? + the package could not be loaded because some of the object files contain symbols named .refptr.* and .weak.*, which should be excluded from the exports list * To work around this, put this line in .R\Makevars: NM_FILTER = | sed -e '/\.refptr\./d; /\.weak\./d' - Hsiu-Khuern
2015 Mar 09
5
Notes on building a gcc toolchain for Rtools (but not multilib)
...w toolchain! Additional notes: - I tried using my new R to install Rcpp from source, but this failed because the R build scripts was not able to determine the right set of symbols to be exported in the Rcpp DLL. To solve this, edit the file etc/x64/Makeconf under your R source tree, replacing NM_FILTER = | sed -e '/.refptr./d' by NM_FILTER = | sed -e '/.refptr./d; /\.weak\./d' Hope this helps, - Hsiu-Khuern
2015 Mar 09
0
Notes on building a gcc toolchain for Rtools (but not multilib)
...gt; > - I tried using my new R to install Rcpp from source, but this failed > because the R build scripts was not able to determine the right set of > symbols to be exported in the Rcpp DLL. To solve this, edit the file > etc/x64/Makeconf under your R source tree, replacing > > NM_FILTER = | sed -e '/.refptr./d' > > by > > NM_FILTER = | sed -e '/.refptr./d; /\.weak\./d' > > > Hope this helps, > > - Hsiu-Khuern > > ______________________________________________ > R-devel at r-project.org mailing list > https://stat.ethz.ch...
2015 Mar 11
0
Notes on building a gcc toolchain for Rtools (but not multilib)
...BLAS, of course). The internet bug is still there, > but the rest of make-check all passed with flying colors, as did > building 'microbenchmark' from source (with all the other needed > packages, including Rcpp and Hsiu-Kheurn's change to NM was *not* > used). > ... The NM_FILTER change seems to be needed only when compiling C++ code with -std=c++11 or -std=gnu++11. Even though the current CRAN policy doesn't allow the C++11 standard, it would still be useful to document this, perhaps in the Writing R Extensions manual. - Hsiu-Khuern
2015 Mar 11
0
Notes on building a gcc toolchain for Rtools (but not multilib)
...t;> but the rest of make-check all passed with flying colors, as did >>> building 'microbenchmark' from source (with all the other needed >>> packages, including Rcpp and Hsiu-Kheurn's change to NM was *not* >>> used). >>> ... >> >> The NM_FILTER change seems to be needed only when compiling C++ code >> with -std=c++11 or -std=gnu++11. >> >> Even though the current CRAN policy doesn't allow the C++11 standard, >> it would still be useful to document this, perhaps in the Writing R >> Extensions manual. >&...
2018 Feb 09
3
R Compilation gets stuck on Windows 64
...quot;) DT_ARCH = -m i386:x86-64 --as-flags --64 # 32- or 64-bit Windows? WIN = 64 # The gcc 4.9.3 64 bit toolchain is set up for the 'medium code' model and needs # to remove the .refptr and .weak entries from the exports list; this is the default # when WIN = 64, with blank for WIN = 32: NM_FILTER = | $(SED) -e '/[.]refptr[.]/d' -e '/[.]weak[.]/d' # We normally link directly against DLLs, # but this macro forces the use of import libs # Has been needed for some versions of MinGW-w64 USE_IMPLIBS = YES ### END more detailed options # set to use ICU USE_ICU = YES # path to p...
2018 Feb 09
0
R Compilation gets stuck on Windows 64
...> > # 32- or 64-bit Windows? > WIN = 64 > > # The gcc 4.9.3 64 bit toolchain is set up for the 'medium code' model and > needs > # to remove the .refptr and .weak entries from the exports list; this is > the default > # when WIN = 64, with blank for WIN = 32: > NM_FILTER = | $(SED) -e '/[.]refptr[.]/d' -e '/[.]weak[.]/d' > > # We normally link directly against DLLs, > # but this macro forces the use of import libs > # Has been needed for some versions of MinGW-w64 > USE_IMPLIBS = YES > > ### END more detailed options > > &...
2018 Feb 09
2
R Compilation gets stuck on Windows 64
Hi All, I am trying to compile R from source on a 64 bit Windows. I have downloaded and installed all the third party software as per the R - documentation. The compilation starts fine and after a while it stops with the following error message: D:/Rtools/mingw_64/bin/../lib/gcc/x86_64-w64-mingw32/4.9.3/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lRgraphapp collect2.exe: error: ld
2015 Mar 10
3
Notes on building a gcc toolchain for Rtools (but not multilib)
Hi Duncan, On Mon, Mar 9, 2015 at 10:40 AM, Duncan Murdoch <murdoch.duncan at gmail.com> wrote: > On 09/03/2015 11:07 AM, Hsiu-Khuern Tang wrote: >> >> On Mon, Mar 9, 2015 at 3:50 AM, Duncan Murdoch <murdoch.duncan at gmail.com> >> wrote: >> > On 08/03/2015 10:02 PM, Hsiu-Khuern Tang wrote: >> >> Hi, >> >> >> >> [This
2018 Feb 09
1
R Compilation gets stuck on Windows 64
...s? >> WIN = 64 >> >> # The gcc 4.9.3 64 bit toolchain is set up for the 'medium code' model and >> needs >> # to remove the .refptr and .weak entries from the exports list; this is >> the default >> # when WIN = 64, with blank for WIN = 32: >> NM_FILTER = | $(SED) -e '/[.]refptr[.]/d' -e '/[.]weak[.]/d' >> >> # We normally link directly against DLLs, >> # but this macro forces the use of import libs >> # Has been needed for some versions of MinGW-w64 >> USE_IMPLIBS = YES >> >> ### END more...