* installing *source* package 'datasailr' ...
** package 'datasailr' successfully unpacked and MD5 sums checked
** using staged installation
R_HOME is set to D:/RCompile/recent/R
Add new include path.
-ID:/RCompile/recent/R/include
Showing updated Makevars.win
CXX_STD=CXX11

$(info $(R_ARCH))
$(info $(ARCH))

ONIGMO_PROJ_NAME=Onigmo
ONIGMO_INSTALL=$(ONIGMO_PROJ_NAME)/_BUILD
ONIGMO_LIB=$(ONIGMO_INSTALL)/lib
ONIGMO_INCLUDE=$(ONIGMO_INSTALL)/include

PKG_CXXFLAGS=-Ilibsailr -I$(ONIGMO_PROJ_NAME) # Option for compiler
PKG_LIBS = $(LDFLAGS) -Llibsailr -lsailr -L$(ONIGMO_LIB) -l:libonigmo.a -Wl,-Bstatic -lstdc++ -lpthread -Wl,-Bdynamic
# Note: -lxxx looks up for libraries in an order of libxxx.so and libxxx.a
# Note: -l:libyyy.a directly looks up for the library with the filename of libyyy.a
# https://stackoverflow.com/questions/6578484/telling-gcc-directly-to-link-a-library-statically

PKG_CFLAGS=-Ilibsailr -I$(ONIGMO_PROJ_NAME) -ID:/RCompile/recent/R/include  

REQUIRE_AUTOTOOLS=NO
src_dir=$(strip $(shell pwd))

# compile self-contained subdirectory
# http://www.hep.by/gnu/r-patched/r-exts/R-exts_14.html#SEC14
# https://stackoverflow.com/questions/17133550/building-shared-libraries-in-subdirectories


.PHONY: all

all: $(SHLIB)
$(SHLIB): libsailr/libsailr.a

libsailr/libsailr.a: $(ONIGMO_LIB)/onigmo.a
	@echo "compiling libsailr engine."
	$(MAKE) build --directory libsailr CC="$(CC)" \
                              CFLAGS="$(CFLAGS) $(CPICFLAGS) -I. -I../$(ONIGMO_INCLUDE) -ID:/RCompile/recent/R/include   " \
                              CXX="$(CXX)" CXXFLAGS="$(CXXFLAGS) $(CPICFLAGS) -I. -Istring" \
                              AR="$(AR) rvs" 


ifeq ($(REQUIRE_AUTOTOOLS), YES)
# If user has autotools

$(ONIGMO_LIB)/onigmo.a:
	@echo $$PATH
	@echo "Makevars.win without autotools"
	cd $(ONIGMO_PROJ_NAME)/; ./autogen.sh; ./configure --prefix=$(src_dir)/$(ONIGMO_INSTALL); make; make install;  cd ..; 
	rm -f $(ONIGMO_LIB)/onigmo.dll
	rm -f $(ONIGMO_LIB)/libonigmo.dll.a
	rm -f $(ONIGMO_LIB)/libonigmo.la
	rm -f $(ONIGMO_LIB)/onigmo.so

else
# If user does not have autotools, they cannot run ./aurogen.sh
# For those users like CRAN, autogen.sh should be run beforehand, and configure script should be generated.

$(ONIGMO_LIB)/onigmo.a: $(ONIGMO_PROJ_NAME)/m4/lt~obsolete.m4
	@echo $$PATH
	@echo "Makevars.win without autotools"
	mkdir -p $(ONIGMO_LIB)
	mkdir -p $(ONIGMO_INCLUDE)
	cd $(ONIGMO_PROJ_NAME) && $(MAKE) -f win32/Makefile.mingw ARCH="$(ARCH)" CXX="$(CXX)" CC="$(CC)" CFLAGS="$(CFLAGS) $(CPICFLAGS)" CXXFLAGS="$(CXXFLAGS) $(CPICFLAGS)" ARLIB="$(AR)" ARDLL="$(CC)" RANLIB="$(RANLIB)" RC="$(RESCOMP)"
	cp $(ONIGMO_PROJ_NAME)/build_$(ARCH)/libonigmo.a $(ONIGMO_LIB)/
	cp $(ONIGMO_PROJ_NAME)/onigmo.h $(ONIGMO_INCLUDE)/

# Note: RESCOMP makefile variable is only available (necessary) for Windows platform

# lt~obsolete.m4 cannot be included for CRAN.

$(ONIGMO_PROJ_NAME)/m4/lt~obsolete.m4: $(ONIGMO_PROJ_NAME)/m4/lt_obsolete.m4
	mv $(ONIGMO_PROJ_NAME)/m4/lt_obsolete.m4 $(ONIGMO_PROJ_NAME)/m4/lt~obsolete.m4

endif


** libs
using C++ compiler: 'g++.exe (GCC) 13.2.0'
using C++11
make[1]: Entering directory '/d/temp/RtmpgzY22q/R.INSTALL1fbcc2dc76488/datasailr/src'
/x64

g++  -std=gnu++11 -I"D:/RCompile/recent/R/include" -DNDEBUG  -I'D:/RCompile/CRANpkg/lib/4.5/Rcpp/include'   -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"  -Ilibsailr -IOnigmo    -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c RcppExports.cpp -o RcppExports.o
g++  -std=gnu++11 -I"D:/RCompile/recent/R/include" -DNDEBUG  -I'D:/RCompile/CRANpkg/lib/4.5/Rcpp/include'   -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"  -Ilibsailr -IOnigmo    -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c data_sailr_cpp_main.cpp -o data_sailr_cpp_main.o
data_sailr_cpp_main.cpp: In function 'Rcpp::DataFrame data_sailr_cpp_execute(Rcpp::CharacterVector, Rcpp::DataFrame)':
data_sailr_cpp_main.cpp:1419:67: warning: 'vmstack' may be used uninitialized [-Wmaybe-uninitialized]
 1419 |                         vm_exec_code_result = sailr_vm_resume_code(vmcode, vmcode_size , sailr_vm_stack_get_code_position(vmstack), table , vmstack, extfunchash);
      |                                               ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
data_sailr_cpp_main.cpp:1368:26: note: 'vmstack' was declared here
 1368 |         vm_stack_object* vmstack;
      |                          ^~~~~~~
data_sailr_cpp_main.cpp:1413:39: warning: 'row_idx' may be used uninitialized [-Wmaybe-uninitialized]
 1413 |                 update_sailr_ptr_table( table, vars_to_update, vars_to_update_size, vec_list, row_idx );
      |                 ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
data_sailr_cpp_main.cpp:1380:13: note: 'row_idx' was declared here
 1380 |         int row_idx ;
      |             ^~~~~~~
g++  -std=gnu++11 -I"D:/RCompile/recent/R/include" -DNDEBUG  -I'D:/RCompile/CRANpkg/lib/4.5/Rcpp/include'   -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"  -Ilibsailr -IOnigmo    -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c datasailr_ext_func.cpp -o datasailr_ext_func.o
mv Onigmo/m4/lt_obsolete.m4 Onigmo/m4/lt~obsolete.m4
/usr/bin:/x86_64-w64-mingw32.static.posix/bin:/d/RCompile/recent/R/bin/x64:/usr/bin:/x86_64-w64-mingw32.static.posix/bin:/usr/bin:/x86_64-w64-mingw32.static.posix/bin:/usr/bin:/x86_64-w64-mingw32.static.posix/bin:/usr/bin:/x86_64-w64-mingw32.static.posix/bin:.:/usr/bin:/x86_64-w64-mingw32.static.posix/bin:/c/Program Files/MiKTeX/miktex/bin/x64:/c/Program Files/gs/gs/bin:/d/compiler/qpdf/bin:/d/RCompile/CRANpkg/extralibs/localsolver_4_0/bin:/d/RCompile/CRANpkg/extralibs/MARK:/c/Program Files/7-Zip:/d/Compiler/gretl:/c/Program Files/Quarto/bin:/d/compiler/Ruby/bin:/c/Program Files/Microsoft MPI/Bin:/c/Program Files/Python/Scripts:/c/Program Files/Python:/c/Windows/system32:/c/Windows:/c/Windows/System32/Wbem:/c/Windows/System32/WindowsPowerShell/v1.0:/c/Windows/System32/OpenSSH:/c/Program Files/PuTTY:/c/Program Files (x86)/WinSCP:/c/Program Files/Pandoc:/c/Program Files/MiKTeX/miktex/bin/x64:/c/Program Files (x86)/Windows Kits/10/Windows Performance Toolkit:/c/Program Files/gs/gs/bin:/c/Program Files/jdk-11.0.18.10-hotspot/bin:/d/compiler/perl/c/bin:/d/compiler/perl/perl/site/bin:/d/compiler/perl/perl/bin:/c/Users/CRAN/.cargo/bin:/c/Users/CRAN/AppData/Local/Microsoft/WindowsApps:/usr/bin:/c/Program Files/Julia/bin:/c/Users/CRAN/.cargo/bin:/d/compiler/LDC/bin:/d/RCompile/recent/R/bin/x64/
Makevars.win without autotools
mkdir -p Onigmo/_BUILD/lib
mkdir -p Onigmo/_BUILD/include
cd Onigmo && make -f win32/Makefile.mingw ARCH="" CXX="g++  -std=gnu++11" CC="gcc " CFLAGS="-pedantic -Wstrict-prototypes -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  " CXXFLAGS="-O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  " ARLIB="ar" ARDLL="gcc " RANLIB="ranlib" RC="windres "
make[2]: Entering directory '/d/temp/RtmpgzY22q/R.INSTALL1fbcc2dc76488/datasailr/src/Onigmo'
mkdir build_
gcc  -pedantic -Wstrict-prototypes -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign    -DHAVE_CONFIG_H -DEXPORT -Iwin32 -I. -o build_/reggnu.o -c reggnu.c
gcc  -pedantic -Wstrict-prototypes -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign    -DHAVE_CONFIG_H -DEXPORT -Iwin32 -I. -o build_/regerror.o -c regerror.c
gcc  -pedantic -Wstrict-prototypes -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign    -DHAVE_CONFIG_H -DEXPORT -Iwin32 -I. -o build_/regparse.o -c regparse.c
gcc  -pedantic -Wstrict-prototypes -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign    -DHAVE_CONFIG_H -DEXPORT -Iwin32 -I. -o build_/regext.o -c regext.c
gcc  -pedantic -Wstrict-prototypes -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign    -DHAVE_CONFIG_H -DEXPORT -Iwin32 -I. -o build_/regcomp.o -c regcomp.c
gcc  -pedantic -Wstrict-prototypes -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign    -DHAVE_CONFIG_H -DEXPORT -Iwin32 -I. -o build_/regexec.o -c regexec.c
gcc  -pedantic -Wstrict-prototypes -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign    -DHAVE_CONFIG_H -DEXPORT -Iwin32 -I. -o build_/regenc.o -c regenc.c
gcc  -pedantic -Wstrict-prototypes -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign    -DHAVE_CONFIG_H -DEXPORT -Iwin32 -I. -o build_/regsyntax.o -c regsyntax.c
gcc  -pedantic -Wstrict-prototypes -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign    -DHAVE_CONFIG_H -DEXPORT -Iwin32 -I. -o build_/regtrav.o -c regtrav.c
gcc  -pedantic -Wstrict-prototypes -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign    -DHAVE_CONFIG_H -DEXPORT -Iwin32 -I. -o build_/regversion.o -c regversion.c
gcc  -pedantic -Wstrict-prototypes -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign    -DHAVE_CONFIG_H -DEXPORT -Iwin32 -I. -o build_/st.o -c st.c
st.c:2169:1: warning: 'st_rehash' defined but not used [-Wunused-function]
 2169 | st_rehash(st_table *tab)
      | ^~~~~~~~~
st.c:2046:1: warning: 'st_expand_table' defined but not used [-Wunused-function]
 2046 | st_expand_table(st_table *tab, st_index_t siz)
      | ^~~~~~~~~~~~~~~
gcc  -pedantic -Wstrict-prototypes -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign    -DHAVE_CONFIG_H -DEXPORT -Iwin32 -I. -o build_/regposix.o -c regposix.c
gcc  -pedantic -Wstrict-prototypes -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign    -DHAVE_CONFIG_H -DEXPORT -Iwin32 -I. -o build_/regposerr.o -c regposerr.c
gcc  -pedantic -Wstrict-prototypes -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign    -DHAVE_CONFIG_H -DEXPORT -Iwin32 -I. -Ienc/unicode -o build_/ascii.o -c enc/ascii.c
gcc  -pedantic -Wstrict-prototypes -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign    -DHAVE_CONFIG_H -DEXPORT -Iwin32 -I. -Ienc/unicode -o build_/utf_8.o -c enc/utf_8.c
gcc  -pedantic -Wstrict-prototypes -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign    -DHAVE_CONFIG_H -DEXPORT -Iwin32 -I. -Ienc/unicode -o build_/unicode.o -c enc/unicode.c
gcc  -pedantic -Wstrict-prototypes -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign    -DHAVE_CONFIG_H -DEXPORT -Iwin32 -I. -Ienc/unicode -o build_/utf_16be.o -c enc/utf_16be.c
gcc  -pedantic -Wstrict-prototypes -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign    -DHAVE_CONFIG_H -DEXPORT -Iwin32 -I. -Ienc/unicode -o build_/utf_16le.o -c enc/utf_16le.c
gcc  -pedantic -Wstrict-prototypes -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign    -DHAVE_CONFIG_H -DEXPORT -Iwin32 -I. -Ienc/unicode -o build_/utf_32be.o -c enc/utf_32be.c
gcc  -pedantic -Wstrict-prototypes -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign    -DHAVE_CONFIG_H -DEXPORT -Iwin32 -I. -Ienc/unicode -o build_/utf_32le.o -c enc/utf_32le.c
gcc  -pedantic -Wstrict-prototypes -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign    -DHAVE_CONFIG_H -DEXPORT -Iwin32 -I. -Ienc/unicode -o build_/euc_jp.o -c enc/euc_jp.c
gcc  -pedantic -Wstrict-prototypes -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign    -DHAVE_CONFIG_H -DEXPORT -Iwin32 -I. -Ienc/unicode -o build_/shift_jis.o -c enc/shift_jis.c
gcc  -pedantic -Wstrict-prototypes -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign    -DHAVE_CONFIG_H -DEXPORT -Iwin32 -I. -Ienc/unicode -o build_/windows_31j.o -c enc/windows_31j.c
gcc  -pedantic -Wstrict-prototypes -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign    -DHAVE_CONFIG_H -DEXPORT -Iwin32 -I. -Ienc/unicode -o build_/iso_8859_1.o -c enc/iso_8859_1.c
gcc  -pedantic -Wstrict-prototypes -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign    -DHAVE_CONFIG_H -DEXPORT -Iwin32 -I. -Ienc/unicode -o build_/iso_8859_2.o -c enc/iso_8859_2.c
gcc  -pedantic -Wstrict-prototypes -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign    -DHAVE_CONFIG_H -DEXPORT -Iwin32 -I. -Ienc/unicode -o build_/iso_8859_3.o -c enc/iso_8859_3.c
gcc  -pedantic -Wstrict-prototypes -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign    -DHAVE_CONFIG_H -DEXPORT -Iwin32 -I. -Ienc/unicode -o build_/iso_8859_4.o -c enc/iso_8859_4.c
gcc  -pedantic -Wstrict-prototypes -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign    -DHAVE_CONFIG_H -DEXPORT -Iwin32 -I. -Ienc/unicode -o build_/iso_8859_5.o -c enc/iso_8859_5.c
gcc  -pedantic -Wstrict-prototypes -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign    -DHAVE_CONFIG_H -DEXPORT -Iwin32 -I. -Ienc/unicode -o build_/iso_8859_6.o -c enc/iso_8859_6.c
gcc  -pedantic -Wstrict-prototypes -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign    -DHAVE_CONFIG_H -DEXPORT -Iwin32 -I. -Ienc/unicode -o build_/iso_8859_7.o -c enc/iso_8859_7.c
gcc  -pedantic -Wstrict-prototypes -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign    -DHAVE_CONFIG_H -DEXPORT -Iwin32 -I. -Ienc/unicode -o build_/iso_8859_8.o -c enc/iso_8859_8.c
gcc  -pedantic -Wstrict-prototypes -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign    -DHAVE_CONFIG_H -DEXPORT -Iwin32 -I. -Ienc/unicode -o build_/iso_8859_9.o -c enc/iso_8859_9.c
gcc  -pedantic -Wstrict-prototypes -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign    -DHAVE_CONFIG_H -DEXPORT -Iwin32 -I. -Ienc/unicode -o build_/iso_8859_10.o -c enc/iso_8859_10.c
gcc  -pedantic -Wstrict-prototypes -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign    -DHAVE_CONFIG_H -DEXPORT -Iwin32 -I. -Ienc/unicode -o build_/iso_8859_11.o -c enc/iso_8859_11.c
gcc  -pedantic -Wstrict-prototypes -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign    -DHAVE_CONFIG_H -DEXPORT -Iwin32 -I. -Ienc/unicode -o build_/iso_8859_13.o -c enc/iso_8859_13.c
gcc  -pedantic -Wstrict-prototypes -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign    -DHAVE_CONFIG_H -DEXPORT -Iwin32 -I. -Ienc/unicode -o build_/iso_8859_14.o -c enc/iso_8859_14.c
gcc  -pedantic -Wstrict-prototypes -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign    -DHAVE_CONFIG_H -DEXPORT -Iwin32 -I. -Ienc/unicode -o build_/iso_8859_15.o -c enc/iso_8859_15.c
gcc  -pedantic -Wstrict-prototypes -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign    -DHAVE_CONFIG_H -DEXPORT -Iwin32 -I. -Ienc/unicode -o build_/iso_8859_16.o -c enc/iso_8859_16.c
gcc  -pedantic -Wstrict-prototypes -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign    -DHAVE_CONFIG_H -DEXPORT -Iwin32 -I. -Ienc/unicode -o build_/euc_tw.o -c enc/euc_tw.c
gcc  -pedantic -Wstrict-prototypes -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign    -DHAVE_CONFIG_H -DEXPORT -Iwin32 -I. -Ienc/unicode -o build_/euc_kr.o -c enc/euc_kr.c
gcc  -pedantic -Wstrict-prototypes -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign    -DHAVE_CONFIG_H -DEXPORT -Iwin32 -I. -Ienc/unicode -o build_/big5.o -c enc/big5.c
gcc  -pedantic -Wstrict-prototypes -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign    -DHAVE_CONFIG_H -DEXPORT -Iwin32 -I. -Ienc/unicode -o build_/gb18030.o -c enc/gb18030.c
gcc  -pedantic -Wstrict-prototypes -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign    -DHAVE_CONFIG_H -DEXPORT -Iwin32 -I. -Ienc/unicode -o build_/koi8_r.o -c enc/koi8_r.c
gcc  -pedantic -Wstrict-prototypes -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign    -DHAVE_CONFIG_H -DEXPORT -Iwin32 -I. -Ienc/unicode -o build_/koi8_u.o -c enc/koi8_u.c
gcc  -pedantic -Wstrict-prototypes -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign    -DHAVE_CONFIG_H -DEXPORT -Iwin32 -I. -Ienc/unicode -o build_/windows_1250.o -c enc/windows_1250.c
gcc  -pedantic -Wstrict-prototypes -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign    -DHAVE_CONFIG_H -DEXPORT -Iwin32 -I. -Ienc/unicode -o build_/windows_1251.o -c enc/windows_1251.c
gcc  -pedantic -Wstrict-prototypes -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign    -DHAVE_CONFIG_H -DEXPORT -Iwin32 -I. -Ienc/unicode -o build_/windows_1252.o -c enc/windows_1252.c
gcc  -pedantic -Wstrict-prototypes -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign    -DHAVE_CONFIG_H -DEXPORT -Iwin32 -I. -Ienc/unicode -o build_/windows_1253.o -c enc/windows_1253.c
gcc  -pedantic -Wstrict-prototypes -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign    -DHAVE_CONFIG_H -DEXPORT -Iwin32 -I. -Ienc/unicode -o build_/windows_1254.o -c enc/windows_1254.c
gcc  -pedantic -Wstrict-prototypes -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign    -DHAVE_CONFIG_H -DEXPORT -Iwin32 -I. -Ienc/unicode -o build_/windows_1257.o -c enc/windows_1257.c
ar cr build_/libonigmo.a build_/reggnu.o build_/regerror.o build_/regparse.o build_/regext.o build_/regcomp.o build_/regexec.o build_/regenc.o build_/regsyntax.o build_/regtrav.o build_/regversion.o build_/st.o build_/regposix.o build_/regposerr.o build_/ascii.o build_/utf_8.o build_/unicode.o build_/utf_16be.o build_/utf_16le.o build_/utf_32be.o build_/utf_32le.o build_/euc_jp.o build_/shift_jis.o build_/windows_31j.o build_/iso_8859_1.o  build_/iso_8859_2.o build_/iso_8859_3.o  build_/iso_8859_4.o build_/iso_8859_5.o  build_/iso_8859_6.o build_/iso_8859_7.o  build_/iso_8859_8.o build_/iso_8859_9.o  build_/iso_8859_10.o build_/iso_8859_11.o build_/iso_8859_13.o build_/iso_8859_14.o build_/iso_8859_15.o build_/iso_8859_16.o build_/euc_tw.o build_/euc_kr.o build_/big5.o build_/gb18030.o build_/koi8_r.o build_/koi8_u.o build_/windows_1250.o build_/windows_1251.o build_/windows_1252.o build_/windows_1253.o build_/windows_1254.o build_/windows_1257.o
windres  -O coff -I. win32/onigmo.rc build_/onigmo.o
gcc  build_/reggnu.o build_/regerror.o build_/regparse.o build_/regext.o build_/regcomp.o build_/regexec.o build_/regenc.o build_/regsyntax.o build_/regtrav.o build_/regversion.o build_/st.o build_/regposix.o build_/regposerr.o build_/ascii.o build_/utf_8.o build_/unicode.o build_/utf_16be.o build_/utf_16le.o build_/utf_32be.o build_/utf_32le.o build_/euc_jp.o build_/shift_jis.o build_/windows_31j.o build_/iso_8859_1.o  build_/iso_8859_2.o build_/iso_8859_3.o  build_/iso_8859_4.o build_/iso_8859_5.o  build_/iso_8859_6.o build_/iso_8859_7.o  build_/iso_8859_8.o build_/iso_8859_9.o  build_/iso_8859_10.o build_/iso_8859_11.o build_/iso_8859_13.o build_/iso_8859_14.o build_/iso_8859_15.o build_/iso_8859_16.o build_/euc_tw.o build_/euc_kr.o build_/big5.o build_/gb18030.o build_/koi8_r.o build_/koi8_u.o build_/windows_1250.o build_/windows_1251.o build_/windows_1252.o build_/windows_1253.o build_/windows_1254.o build_/windows_1257.o build_/onigmo.o -o build_/onigmo.dll -shared  -Wl,--out-implib,build_/libonigmo.dll.a
make[2]: Leaving directory '/d/temp/RtmpgzY22q/R.INSTALL1fbcc2dc76488/datasailr/src/Onigmo'
cp Onigmo/build_/libonigmo.a Onigmo/_BUILD/lib/
cp Onigmo/onigmo.h Onigmo/_BUILD/include/
compiling libsailr engine.
make build --directory libsailr CC="gcc " \
                              CFLAGS="-pedantic -Wstrict-prototypes -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign   -I. -I../Onigmo/_BUILD/include -ID:/RCompile/recent/R/include   " \
                              CXX="g++  -std=gnu++11" CXXFLAGS="-O2 -Wall  -mfpmath=sse -msse2 -mstackrealign   -I. -Istring" \
                              AR="ar rvs" 
make[2]: Entering directory '/d/temp/RtmpgzY22q/R.INSTALL1fbcc2dc76488/datasailr/src/libsailr'
SHOW ARCH_TRIPLE
x86_64 w64 mingw32.static.posix
SHOW CFLAGS
-pedantic -Wstrict-prototypes -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign   -I. -I../Onigmo/_BUILD/include -ID:/RCompile/recent/R/include   
gcc  -o parse.o -c y.tab.c -pedantic -Wstrict-prototypes -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign   -I. -I../Onigmo/_BUILD/include -ID:/RCompile/recent/R/include    -MMD -MP 
gcc  -o lex.o -c lex.yy.c -pedantic -Wstrict-prototypes -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign   -I. -I../Onigmo/_BUILD/include -ID:/RCompile/recent/R/include     # This file requires y.tab.h
gcc  -c -o gen_code.o gen_code.c  -pedantic -Wstrict-prototypes -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign   -I. -I../Onigmo/_BUILD/include -ID:/RCompile/recent/R/include    -MMD -MP
gcc  -c -o gen_code_util.o gen_code_util.c  -pedantic -Wstrict-prototypes -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign   -I. -I../Onigmo/_BUILD/include -ID:/RCompile/recent/R/include    -MMD -MP
gcc  -c -o node.o node.c  -pedantic -Wstrict-prototypes -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign   -I. -I../Onigmo/_BUILD/include -ID:/RCompile/recent/R/include    -MMD -MP
gcc  -c -o parser_state.o parser_state.c  -pedantic -Wstrict-prototypes -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign   -I. -I../Onigmo/_BUILD/include -ID:/RCompile/recent/R/include    -MMD -MP
gcc  -c -o ptr_table.o ptr_table.c  -pedantic -Wstrict-prototypes -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign   -I. -I../Onigmo/_BUILD/include -ID:/RCompile/recent/R/include    -MMD -MP
gcc  -c -o sailr.o sailr.c  -pedantic -Wstrict-prototypes -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign   -I. -I../Onigmo/_BUILD/include -ID:/RCompile/recent/R/include    -MMD -MP
gcc  -c -o sailr_ext.o sailr_ext.c  -pedantic -Wstrict-prototypes -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign   -I. -I../Onigmo/_BUILD/include -ID:/RCompile/recent/R/include    -MMD -MP
gcc  -c -o script_loc.o script_loc.c  -pedantic -Wstrict-prototypes -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign   -I. -I../Onigmo/_BUILD/include -ID:/RCompile/recent/R/include    -MMD -MP
gcc  -c -o tree_dump.o tree_dump.c  -pedantic -Wstrict-prototypes -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign   -I. -I../Onigmo/_BUILD/include -ID:/RCompile/recent/R/include    -MMD -MP
gcc  -c -o tree_free.o tree_free.c  -pedantic -Wstrict-prototypes -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign   -I. -I../Onigmo/_BUILD/include -ID:/RCompile/recent/R/include    -MMD -MP
gcc  -c -o var_hash.o var_hash.c  -pedantic -Wstrict-prototypes -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign   -I. -I../Onigmo/_BUILD/include -ID:/RCompile/recent/R/include    -MMD -MP
gcc  -c -o vm_label.o vm_label.c  -pedantic -Wstrict-prototypes -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign   -I. -I../Onigmo/_BUILD/include -ID:/RCompile/recent/R/include    -MMD -MP
gcc  -c -o vm/vm.o vm/vm.c  -pedantic -Wstrict-prototypes -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign   -I. -I../Onigmo/_BUILD/include -ID:/RCompile/recent/R/include    -I. -MMD -MP
gcc  -c -o vm/vm_assign.o vm/vm_assign.c  -pedantic -Wstrict-prototypes -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign   -I. -I../Onigmo/_BUILD/include -ID:/RCompile/recent/R/include    -I. -MMD -MP
gcc  -c -o vm/vm_calc.o vm/vm_calc.c  -pedantic -Wstrict-prototypes -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign   -I. -I../Onigmo/_BUILD/include -ID:/RCompile/recent/R/include    -I. -MMD -MP
gcc  -c -o vm/vm_call_func.o vm/vm_call_func.c  -pedantic -Wstrict-prototypes -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign   -I. -I../Onigmo/_BUILD/include -ID:/RCompile/recent/R/include    -I. -MMD -MP
gcc  -c -o vm/vm_cmd.o vm/vm_cmd.c  -pedantic -Wstrict-prototypes -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign   -I. -I../Onigmo/_BUILD/include -ID:/RCompile/recent/R/include    -I. -MMD -MP
gcc  -c -o vm/vm_code.o vm/vm_code.c  -pedantic -Wstrict-prototypes -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign   -I. -I../Onigmo/_BUILD/include -ID:/RCompile/recent/R/include    -I. -MMD -MP
gcc  -c -o vm/vm_error.o vm/vm_error.c  -pedantic -Wstrict-prototypes -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign   -I. -I../Onigmo/_BUILD/include -ID:/RCompile/recent/R/include    -I. -MMD -MP
gcc  -c -o vm/vm_item_pp2val.o vm/vm_item_pp2val.c  -pedantic -Wstrict-prototypes -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign   -I. -I../Onigmo/_BUILD/include -ID:/RCompile/recent/R/include    -I. -MMD -MP
gcc  -c -o vm/vm_rexp.o vm/vm_rexp.c  -pedantic -Wstrict-prototypes -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign   -I. -I../Onigmo/_BUILD/include -ID:/RCompile/recent/R/include    -I. -MMD -MP
gcc  -c -o vm/vm_stack.o vm/vm_stack.c  -pedantic -Wstrict-prototypes -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign   -I. -I../Onigmo/_BUILD/include -ID:/RCompile/recent/R/include    -I. -MMD -MP
g++  -std=gnu++11 -c -o string/cpp_string/cpp_string.o string/cpp_string/cpp_string.cpp -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign   -I. -Istring -MMD -MP 
g++  -std=gnu++11 -c -o string/cpp_string/cpp_string_latin1.o string/cpp_string/cpp_string_latin1.cpp -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign   -I. -Istring -MMD -MP 
g++  -std=gnu++11 -c -o string/cpp_string/cpp_string_utf8.o string/cpp_string/cpp_string_utf8.cpp -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign   -I. -Istring -MMD -MP 
gcc  -c -o string/common_string.o string/common_string.c  -pedantic -Wstrict-prototypes -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign   -I. -I../Onigmo/_BUILD/include -ID:/RCompile/recent/R/include    -I. -MMD -MP
gcc  -c -o simple_re/simple_re.o simple_re/simple_re.c  -pedantic -Wstrict-prototypes -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign   -I. -I../Onigmo/_BUILD/include -ID:/RCompile/recent/R/include    -I. -MMD -MP
gcc  -c -o simple_date/simple_date.o simple_date/simple_date.c  -pedantic -Wstrict-prototypes -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign   -I. -I../Onigmo/_BUILD/include -ID:/RCompile/recent/R/include    -I. -MMD -MP
g++  -std=gnu++11 -c -o simple_date/cpp_date.o simple_date/cpp_date.cpp -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign   -I. -Istring -MMD -MP 
gcc  -c -o vm/func/c_func/c_func.o vm/func/c_func/c_func.c  -pedantic -Wstrict-prototypes -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign   -I. -I../Onigmo/_BUILD/include -ID:/RCompile/recent/R/include    -I. -MMD -MP
gcc  -c -o vm/func/c_func/c_func_helper.o vm/func/c_func/c_func_helper.c  -pedantic -Wstrict-prototypes -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign   -I. -I../Onigmo/_BUILD/include -ID:/RCompile/recent/R/include    -I. -MMD -MP
gcc  -c -o vm/func/ext_func/ext_func_hash.o vm/func/ext_func/ext_func_hash.c  -pedantic -Wstrict-prototypes -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign   -I. -I../Onigmo/_BUILD/include -ID:/RCompile/recent/R/include    -I. -MMD -MP
ar rvs libsailr.a gen_code.o gen_code_util.o node.o parser_state.o ptr_table.o sailr.o sailr_ext.o script_loc.o tree_dump.o tree_free.o var_hash.o vm_label.o vm/vm.o vm/vm_assign.o vm/vm_calc.o vm/vm_call_func.o vm/vm_cmd.o vm/vm_code.o vm/vm_error.o vm/vm_item_pp2val.o vm/vm_rexp.o vm/vm_stack.o parse.o lex.o string/cpp_string/cpp_string.o string/cpp_string/cpp_string_latin1.o string/cpp_string/cpp_string_utf8.o  string/common_string.o  simple_re/simple_re.o simple_date/simple_date.o simple_date/cpp_date.o vm/func/c_func/c_func.o vm/func/c_func/c_func_helper.o vm/func/ext_func/ext_func_hash.o
D:\rtools44\x86_64-w64-mingw32.static.posix\bin\ar.exe: creating libsailr.a
a - gen_code.o
a - gen_code_util.o
a - node.o
a - parser_state.o
a - ptr_table.o
a - sailr.o
a - sailr_ext.o
a - script_loc.o
a - tree_dump.o
a - tree_free.o
a - var_hash.o
a - vm_label.o
a - vm/vm.o
a - vm/vm_assign.o
a - vm/vm_calc.o
a - vm/vm_call_func.o
a - vm/vm_cmd.o
a - vm/vm_code.o
a - vm/vm_error.o
a - vm/vm_item_pp2val.o
a - vm/vm_rexp.o
a - vm/vm_stack.o
a - parse.o
a - lex.o
a - string/cpp_string/cpp_string.o
a - string/cpp_string/cpp_string_latin1.o
a - string/cpp_string/cpp_string_utf8.o
a - string/common_string.o
a - simple_re/simple_re.o
a - simple_date/simple_date.o
a - simple_date/cpp_date.o
a - vm/func/c_func/c_func.o
a - vm/func/c_func/c_func_helper.o
a - vm/func/ext_func/ext_func_hash.o
make[2]: Leaving directory '/d/temp/RtmpgzY22q/R.INSTALL1fbcc2dc76488/datasailr/src/libsailr'
g++ -shared -s -static-libgcc -o datasailr.dll tmp.def RcppExports.o data_sailr_cpp_main.o datasailr_ext_func.o -Llibsailr -lsailr -LOnigmo/_BUILD/lib -l:libonigmo.a -Wl,-Bstatic -lstdc++ -lpthread -Wl,-Bdynamic -Ld:/rtools44/x86_64-w64-mingw32.static.posix/lib/x64 -Ld:/rtools44/x86_64-w64-mingw32.static.posix/lib -LD:/RCompile/recent/R/bin/x64 -lR
make[1]: Leaving directory '/d/temp/RtmpgzY22q/R.INSTALL1fbcc2dc76488/datasailr/src'
make[1]: Entering directory '/d/temp/RtmpgzY22q/R.INSTALL1fbcc2dc76488/datasailr/src'
/x64

make[1]: Leaving directory '/d/temp/RtmpgzY22q/R.INSTALL1fbcc2dc76488/datasailr/src'
installing to d:/Rcompile/CRANpkg/lib/4.5/00LOCK-datasailr/00new/datasailr/libs/x64
** R
** data
** exec
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
** building package indices
** testing if installed package can be loaded from temporary location
** testing if installed package can be loaded from final location
** testing if installed package keeps a record of temporary installation path
* MD5 sums
packaged installation of 'datasailr' as datasailr_0.8.11.zip
* DONE (datasailr)