newsText Extractor TXR - News: Version 027 is out.

 
 
Latest News
TXR 92 is out posted by kkylheku, Fri 11 Jul 2014 04:23:25 PM UTC
Version 044 is out. posted by kkylheku, Fri 02 Dec 2011 06:01:22 PM UTC
Version 042 is out posted by kkylheku, Tue 22 Nov 2011 10:08:49 PM UTC
Txr 039 is out. posted by kkylheku, Mon 10 Oct 2011 04:32:24 PM UTC
Txr 038 is out. posted by kkylheku, Fri 07 Oct 2011 01:18:40 AM UTC

Version 027 is out.

Item posted by Kaz Kylheku <kkylheku> on Thu 03 Dec 2009 11:41:27 PM UTC.

I've done some code cleanup and fixed one GC-related bug.

The installation prefix now uses the widespread DESTDIR convention. E.g. you can configure with --prefix=/usr, but then do a "make install DESTDIR=temp", which will install everything into the directory temp/usr, from which you can roll up a package. That's how people prepare packages GNU/Linux distros. If you use the --install_prefix configure option, it sets up DESTDIR.

After "make install" you can now do "make install-tests" which will add all of the test cases to the installation, under the usr/share/txr/tests. This "make install-tests" also recursively invokes "make -sn tests" and captures the commands which execute the test cases; these are spun into a script called run.sh.  Currently, the run.sh script requires write access to the directory where the test cases are installed. Ah well; it's a development feature.

make install-tests makes it easy to run the same test as "make tests" but on a cross target system. That's how I found the gc problem; I cross-compiled txr for a MIPS system, made the cross test package, and ran it on a MIPS board.



 

Back to the top

Powered by Savane 3.13-cf05.
Corresponding source code