The important thing is to use the -g0 flag.  Even though RcppEigen is  a
header-only package we include an example R function fastlm. If you leave
the symbols in the DLL file you get a massive library size whereas
stripping the symbols provides you with a much smaller file size.  And
because packages that use RcppEigen only use the headers, not the DLL file,
it doesn't matter if the symbols are stripped.


On Mon, Dec 2, 2013 at 1:31 PM, Dirk Eddelbuettel <[email protected]> wrote:

>
> On 2 December 2013 at 11:17, Jeroen Ooms wrote:
> | I noticed that RcppEigen fails to install on my servers because it
> requires
> | more than 1gb of memory to compile. Is this expected? Are there any
> flags or
>
> Yes. It also falls over on R-Forge.
>
> | options I could set to trade of some memory for cpu? A short simulation:
>
> I have had to resort to similar tricks on some smaller architecture when
> autobuilding demanding Debian packages.  Try -O0 -g0 for a start.
>
> Or if you need a smile, this still holds:
>
>   http://dilbert.com/strips/comic/1995-06-24/
>
> Dirk
>
> --
> Dirk Eddelbuettel | [email protected] | http://dirk.eddelbuettel.com
> _______________________________________________
> Rcpp-devel mailing list
> [email protected]
> https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcpp-devel
>
_______________________________________________
Rcpp-devel mailing list
[email protected]
https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcpp-devel

Reply via email to