Skip to content
Back to formatted view

Raw Message

Message-ID: <2028204397.5984988.1296743876459.JavaMail.fmail@mwmweb018>
Date: 2011-02-03T14:37:56Z
From: Jens Oehlschlägel
Subject: Problem creating a package with high-resolution timer
In-Reply-To: <AANLkTikQua=fe0eS28HaDyZeium6bw2r28F3WA+zNejv@mail.gmail.com>

Thanks Olaf,
Thanks Daniel,

Problem solved. The typo was only in the mail. But I funneld the -lrt flag via the R CMD INSTALL mechanics to the compiler instead of to the linker. 
Setting PKG_LIBS=-lrt in Makevars did it. 

Cheers
Jens



-----Urspr?ngliche Nachricht-----
Von: "Olaf Mersmann" <olafm at datensplitter.net>
Gesendet: Feb 3, 2011 1:34:31 PM
An: r-sig-hpc at r-project.org
Betreff: Re: [R-sig-hpc] Problem creating a package with high-resolution timer

>Dear Jens,
>
>2011/2/3 "Jens Oehlschl?gel" <jens.oehlschlaegel at truecluster.com>:
>> I am trying to INSTALL to R-2.12.1 a package with a high-resolution time (timer_gettime and friends).
>> I learned that I need to compile with the real time option "gcc -lrc"
>
>This should be "gcc -lrt" iirc. Is this a typo? Does it also fail if
>you link against librt
>Cheers,
>Olaf Mersmann
>
>_______________________________________________
>R-sig-hpc mailing list
>R-sig-hpc at r-project.org
>https://stat.ethz.ch/mailman/listinfo/r-sig-hpc