R: [R] Use of libmath.a
Federico Spinazzi
spinazzi at databankgroup.it
Tue Jul 25 16:26:57 CEST 2000
>For example,
>
>> cc -I/usr/local/lib/R/include -lmath test.c ???
I guess it should be
> cc test.c -I/usr/local/lib/R/include -lmath
The order specified for object files (libraries are) on the compiler command
line is IMPORTANT to the linker as it searches for symbols from left to
right.
Hope that helps.
Regards,
federico
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
More information about the R-help
mailing list