Skip to content
This repository has been archived by the owner on Jan 16, 2024. It is now read-only.

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
jeroen committed Feb 12, 2015
1 parent c82e928 commit f937473
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions readme.md
Original file line number Diff line number Diff line change
@@ -1,18 +1,20 @@
- Installed Rtools, msys
- Extracted a copy of boost in /home/boost_1_57_0
- In msys in `/etc/fstab`, mount `c:/Rtools/gcc-4.6.3 /mingw`
- Install Rtools and msys
- Download and extract a copy of boost in `c:/msys/home/boost_1_57_0`
- Create or edit `c:/msys/etc/fstab` to mount `c:/Rtools/gcc-4.6.3 /mingw`
- Extract QuantLib-1.5.tar.gz
- To configure run: `CPPFLAGS="-I/home/boost_1_57_0" CXXFLAGS="-g0" ./configure`
- To build (box with 8 cores) run: `make -j9`
- Add `-m64` to CXXFLAGS to build x64 library
- Example of my Makevars.win file in RQuantLib:
- Example of my RQuantLib `Makevars.win` file:

```Make
# Makevars.win
QUANTLIB_ROOT="C:/Users/Jeroen/Desktop/quantlib"
BOOSTLIB="C:/msys/home/boost_1_57_0"
PKG_CXXFLAGS=-I$(QUANTLIB_ROOT)/include -I../inst/include -I. -I$(BOOSTLIB) $(SHLIB_OPENMP_CFLAGS) -fpermissive
PKG_LIBS=-L$(QUANTLIB_ROOT)/lib${R_ARCH} -lQuantLib $(SHLIB_OPENMP_CFLAGS)

PKG_CPPFLAGS=-I$(QUANTLIB_ROOT)/include -I../inst/include -I. -I$(BOOSTLIB)
PKG_CXXFLAGS= -fpermissive
PKG_LIBS=-L$(QUANTLIB_ROOT)/lib${R_ARCH} -lQuantLib
```

- The static libraries are too big for github (even with -g0), that is why they are zipped.
- Hopefully future versions of RQuantLib will use boost from the BH package.

0 comments on commit f937473

Please sign in to comment.