search for: foo_base

Displaying 2 results from an estimated 2 matches for "foo_base".

Did you mean: foo_bar
2016 Jul 28
0
Creating shared object with BASE in EXPORTS on Windows
.../////////////////////////////// Creating shared object from this code doesn't succeed (error: ld returned 1 exit status) //////////////////////////////////////// void BASE(int *nin, double *x) { int n = nin[0]; int i; for (i=0; i<n; i++) x[i] = x[i] * x[i]; } system("R CMD SHLIB foo_base.c --preclean") c:/Rtools/mingw_64/bin/gcc -I"C:/PROGRA~1/R/R-33~1.1/include" -DNDEBUG -I"d:/Compiler/gcc-4.9.3/local330/include" -O2 -Wall -std=gnu99 -mtune=core2 -c foo_base.c -o foo_base.o c:/Rtools/mingw_64/bin/gcc -shared -s -static-libgcc -o foo_base.dll tmp.d...
2016 Aug 02
0
Creating shared object with BASE in EXPORTS on Windows
...t from this code > doesn't succeed > (error: ld returned 1 exit status) > //////////////////////////////////////// > void BASE(int *nin, double *x) { > int n = nin[0]; > int i; > for (i=0; i<n; i++) x[i] = x[i] * x[i]; > } > > > system("R CMD SHLIB foo_base.c --preclean") > c:/Rtools/mingw_64/bin/gcc -I"C:/PROGRA~1/R/R-33~1.1/include" > -DNDEBUG -I"d:/Compiler/gcc-4.9.3/local330/include" -O2 -Wall > -std=gnu99 -mtune=core2 -c foo_base.c -o foo_base.o > c:/Rtools/mingw_64/bin/gcc -shared -s -static-libgcc -...