Displaying 1 result from an estimated 1 matches for "dcygwin".
Did you mean:
cygwin
2011 Aug 29
1
R-loadable dll with minGW-compiled linked library
...structions on how
to compile these libraries with cygwin - NOT with minGW tools, as required
by Rtools and R for correct dll creation and loading.
Currently I have R CMD SHLIB configured as follows:
(To create object file)
<path to Rtools/minGW/bin>/g++ -c -Wno-deprecated -Wall -W -Wextra -DCYGWIN
-O3 -I<path toibdai/include> -I<path to boost_1_46_1> -o example.o
(To create shared library)
example examples/example.cpp
<path to Rtools/minGW/bin>/g++ -shared -s static-libgcc -o example.dll
example.o -L.../libdai/lib -ldai -L"C:/cygwin/lib" -lcygwin
Including the...