RXLisp

Jan de Leeuw deleeuw@stat.ucla.edu
Sat, 12 Oct 2002 15:46:11 -0700


So far, I had made RXLisp by putting all foo.o from XLISP-STAT in
an archive, and linking that into RXLisp.so. I have gotten somewhat
further in using dynamic libraries. Here is what I now do.

in XLS
1. Copy xlisp modifications from RXLisp
2. configure --host=powerpc-apple-darwin6.2
3. make libxlisp.so CC="gcc -fno-common -L/sw/lib -I/sw/include"
4. gcc -dynamiclib -flat_namespace -undefined suppress \\
  	-install_name /usr/local/lib/libxlisp.dylib -o libxlisp.dylib *.o \\
	 -L/usr/X11R6/lib -lX11 -L/sw/lib -ldl -lm
  5. Copy libxlisp.dylib to /usr/local/lib

  In RXLisp/src
  1  make CC="gcc -I/usr/X11R6/include -fno-common"
  2. gcc -dynamiclib -flat_namespace -undefined suppress \\
  	-install_name /usr/local/lib/libRXLispConverters.dylib \\
	-L/sw/lib -L/usr/local/lib -o libRXLispConverters.dylib Converters.o
  3. Copy libRXLispConverters.dylib  to /usr/local/lib

  Then R CMD INSTALL RXLisp

Now I can do XLisp from R, but not everything (no graphics, for
example -- gives a segmentation error) yet. Haven't looked in the other  
direction,
which does not interest me much anyway.
===
Jan de Leeuw; Professor and Chair, UCLA Department of Statistics;
Editor: Journal of Multivariate Analysis, Journal of Statistical  
Software
US mail: 9432 Boelter Hall, Box 951554, Los Angeles, CA 90095-1554
phone (310)-825-9550;  fax (310)-206-5658;  email: deleeuw@stat.ucla.edu
homepage: http://gifi.stat.ucla.edu
   
------------------------------------------------------------------------ 
-------------------------
           No matter where you go, there you are. --- Buckaroo Banzai
                    http://gifi.stat.ucla.edu/sounds/nomatter.au
   
------------------------------------------------------------------------ 
------------------------- 
        

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel 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-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._