Displaying 1 result from an estimated 1 matches for "addqu".
Did you mean:
addq
2016 Aug 07
1
Quote symbol names under EXPORTS in tmp.def on Windows
...elated specifically to what Rtools is using,
but when I made the following change to winshlib.mk (double 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];...