Re: [Rcpp-devel] Linking a package to -ltmalloc from the google perftools

2012-02-28 Thread Dirk Eddelbuettel
On 28 February 2012 at 13:56, Douglas Bates wrote: | >> You do have libgoogle-perftools-dev installed, right? | > | > Well, actually, no I didn't have that package installed.  Thanks for | > the pointer. | | Followup question: How does one invoke the cpu-profiler? You need to | give a path to th

Re: [Rcpp-devel] Linking a package to -ltmalloc from the google perftools

2012-02-28 Thread Douglas Bates
On Tue, Feb 28, 2012 at 1:24 PM, Douglas Bates wrote: > On Tue, Feb 28, 2012 at 1:17 PM, Dirk Eddelbuettel wrote: >> >> On 28 February 2012 at 12:43, Douglas Bates wrote: >> | As the google perftools are specifically designed for multi-threaded >> | C++ programs I ask this here rather than on R-d

Re: [Rcpp-devel] Linking a package to -ltmalloc from the google perftools

2012-02-28 Thread Douglas Bates
On Tue, Feb 28, 2012 at 1:17 PM, Dirk Eddelbuettel wrote: > > On 28 February 2012 at 12:43, Douglas Bates wrote: > | As the google perftools are specifically designed for multi-threaded > | C++ programs I ask this here rather than on R-devel. > | > | On a Linux system (Ubuntu 11.10) I have been un

Re: [Rcpp-devel] Linking a package to -ltmalloc from the google perftools

2012-02-28 Thread Dirk Eddelbuettel
On 28 February 2012 at 12:43, Douglas Bates wrote: | As the google perftools are specifically designed for multi-threaded | C++ programs I ask this here rather than on R-devel. | | On a Linux system (Ubuntu 11.10) I have been unsuccessful linking a | package, say Rcpp, against -ltcmalloc. I do h

[Rcpp-devel] Linking a package to -ltmalloc from the google perftools

2012-02-28 Thread Douglas Bates
As the google perftools are specifically designed for multi-threaded C++ programs I ask this here rather than on R-devel. On a Linux system (Ubuntu 11.10) I have been unsuccessful linking a package, say Rcpp, against -ltcmalloc. I do have /usr/lib/libtcmalloc.so.0 and friends installed but the li