2004-08-29 00:15:23 +08:00
|
|
|
GNU Libtool
|
|
|
|
***********
|
1997-04-02 03:18:28 +08:00
|
|
|
|
2004-08-29 00:15:23 +08:00
|
|
|
1. Introduction
|
|
|
|
===============
|
1999-07-06 23:27:19 +08:00
|
|
|
|
2004-08-29 00:15:23 +08:00
|
|
|
This is an alpha testing release of GNU Libtool, please try it on all
|
|
|
|
the platforms you have access to. Using it more or less implicitly
|
|
|
|
signs you up to help us find whatever problems you report.
|
2003-11-13 02:37:26 +08:00
|
|
|
|
2004-08-29 00:15:23 +08:00
|
|
|
If it builds and passes the test suite (`make check'), please send
|
|
|
|
notification to the libtool mailing list <libtool@gnu.org> with a
|
|
|
|
subject line including the string `[PLATFORM]'.
|
2004-01-27 20:38:47 +08:00
|
|
|
|
2003-11-13 02:37:26 +08:00
|
|
|
|
2004-08-29 00:15:23 +08:00
|
|
|
2. Reporting Bugs
|
|
|
|
=================
|
1998-12-09 02:36:31 +08:00
|
|
|
|
2005-12-17 00:50:00 +08:00
|
|
|
If this distribution doesn't work for you, before you report the
|
|
|
|
problem, please try upgrading to the latest version from CVS first:
|
2004-02-23 00:12:15 +08:00
|
|
|
|
2004-08-29 00:15:23 +08:00
|
|
|
export CVS_RSH=ssh
|
2005-12-20 21:29:55 +08:00
|
|
|
cvs -z3 -d :pserver:anonymous@cvs.sv.gnu.org:/sources/libtool co libtool
|
2004-08-29 00:15:23 +08:00
|
|
|
cd libtool
|
|
|
|
./bootstrap
|
2002-10-25 11:28:43 +08:00
|
|
|
|
2005-12-17 00:50:00 +08:00
|
|
|
The `bootstrap' script sets up the source directory for you to hack,
|
|
|
|
though it may take quite some time to run. To use it, you need a recent
|
|
|
|
(maybe yet to be released) version of both Autoconf and Automake. If
|
|
|
|
you don't intend to run the test suite, you can speed up the `bootstrap'
|
|
|
|
step by an order of magnitude if you call it like this instead:
|
2002-10-25 11:28:43 +08:00
|
|
|
|
2005-12-17 00:50:00 +08:00
|
|
|
reconfdirs='. libltdl' ./bootstrap
|
2002-10-25 11:28:43 +08:00
|
|
|
|
2004-08-29 00:15:23 +08:00
|
|
|
If your bug is not fixed in the latest version, please send a full
|
|
|
|
report to <bug-libtool@gnu.org>, including the information from the end
|
|
|
|
of the help message given by `./libtool --help', and the verbose output
|
|
|
|
of any failed test groups (as described below).
|
2002-10-25 11:28:43 +08:00
|
|
|
|
|
|
|
|
2005-12-17 00:50:00 +08:00
|
|
|
3. The Test Suites
|
|
|
|
==================
|
2002-10-25 11:28:43 +08:00
|
|
|
|
2005-12-17 00:50:00 +08:00
|
|
|
Libtool comes with two integrated sets of tests to check that your build
|
|
|
|
is sane. You can run both test suites like this:
|
2002-10-25 11:28:43 +08:00
|
|
|
|
2005-12-17 00:50:00 +08:00
|
|
|
make check TESTSUITE_FLAGS=-V
|
|
|
|
make check-local
|
2002-10-25 11:28:43 +08:00
|
|
|
|
2005-12-17 00:50:00 +08:00
|
|
|
The tests of the old test suite run in groups in the various demo
|
|
|
|
subdirectories, so if one of the tests early in a group FAILs, the rest
|
|
|
|
of the tests in that group will be SKIPped. If you see a FAIL further
|
|
|
|
into a group, even if a test with the same name PASSes in another test
|
|
|
|
group, you need to take note of the name of the first test in the group
|
|
|
|
if you want to rerun the group with FAILures to get verbose output.
|
2002-10-25 11:28:43 +08:00
|
|
|
|
2005-12-17 00:50:00 +08:00
|
|
|
To run a test group of the old test suite in isolation (say, you think
|
|
|
|
you have fixed a bug, but don't want to rerun the entire suite), you can
|
|
|
|
do it like this:
|
2003-11-05 21:14:56 +08:00
|
|
|
|
2005-12-17 00:50:00 +08:00
|
|
|
make check TESTS='cdemo-static.test cdemo-make.test cdemo-exec.test' \
|
|
|
|
TESTSUITE_FLAGS=-V
|
2003-11-05 21:14:56 +08:00
|
|
|
|
2004-08-29 00:15:23 +08:00
|
|
|
Providing that you have a FAIL from the most recent group from a
|
|
|
|
particular demo directory (like the cdemo-static.test group above), you
|
|
|
|
can explore the state of the directory to help with debugging.
|
2003-11-05 21:14:56 +08:00
|
|
|
|
2004-08-29 00:15:23 +08:00
|
|
|
If you wish to report a test group failure to the libtool list, you need
|
|
|
|
to send the verbose output of the FAILing group, along with the
|
|
|
|
information from the end of `$(top_builddir)/libtool --help' to the bug
|
|
|
|
report mailing list, <bug-libtool@gnu.org> with a subject line that
|
2005-12-04 22:40:44 +08:00
|
|
|
includes the string `[TEST FAILURE]'. From a Bourne compatible shell,
|
2004-08-29 00:15:23 +08:00
|
|
|
you can generate verbose test output like this:
|
2003-11-05 21:14:56 +08:00
|
|
|
|
2004-10-04 05:08:21 +08:00
|
|
|
VERBOSE=yes make check \
|
2004-08-29 00:15:23 +08:00
|
|
|
TESTS='cdemo-static.test cdemo-make.test cdemo-exec.test' \
|
2005-12-17 00:50:00 +08:00
|
|
|
TESTSUITE_FLAGS=-V | tee cdemo-static-group.log
|
|
|
|
|
|
|
|
In order to enable debug shell tracing, use VERBOSE=debug instead of
|
|
|
|
VERBOSE=yes.
|
|
|
|
|
|
|
|
|
|
|
|
In the long run, Libtool will move to using only the new,
|
|
|
|
Autotest-driven testsuite. Its usage is documented in
|
|
|
|
|
|
|
|
info Autoconf 'testsuite Invocation'
|
|
|
|
|
|
|
|
but simple help may also be obtained through
|
|
|
|
|
|
|
|
make check-local TESTSUITE_FLAGS='--help'
|
|
|
|
|
|
|
|
For verbose output, add the flag `-v', for running only a subset of the
|
|
|
|
independent tests, merely specify them by number or by keyword, both of
|
|
|
|
which are displayed with the `--list' flag.
|
2003-11-05 21:14:56 +08:00
|
|
|
|
2005-12-17 00:50:00 +08:00
|
|
|
If you wish to report test failures to the libtool list, you need to
|
|
|
|
send the file `tests/testsuite.log' to the bug report mailing list,
|
|
|
|
<bug-libtool@gnu.org>.
|
2004-10-04 05:08:21 +08:00
|
|
|
|
2004-08-29 00:15:23 +08:00
|
|
|
--
|
|
|
|
Copyright (C) 2004 Free Software Foundation, Inc.
|
2003-11-05 21:14:56 +08:00
|
|
|
|
2004-08-29 00:15:23 +08:00
|
|
|
The canonical source of this file is maintained with the
|
|
|
|
GNU Libtool package. Report bugs to bug-libtool@gnu.org.
|
2003-11-05 21:14:56 +08:00
|
|
|
|
2004-08-29 00:15:23 +08:00
|
|
|
GNU Libtool is free software; you can redistribute it and/or
|
|
|
|
modify it under the terms of the GNU General Public License as
|
|
|
|
published by the Free Software Foundation; either version 2
|
|
|
|
of the License, or (at your option) any later version.
|
2003-11-05 21:14:56 +08:00
|
|
|
|
2004-08-29 00:15:23 +08:00
|
|
|
As a special exception to the GNU General Public License,
|
|
|
|
if you distribute this file as part of a program or library that
|
|
|
|
is built using GNU libtool, you may include it under the same
|
|
|
|
distribution terms that you use for the rest of that program.
|
2002-10-25 11:28:43 +08:00
|
|
|
|
2004-08-29 00:15:23 +08:00
|
|
|
GNU Libtool is distributed in the hope that it will be useful,
|
|
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
|
|
General Public License for more details.
|
2002-10-25 11:28:43 +08:00
|
|
|
|
2004-08-29 00:15:23 +08:00
|
|
|
You should have received a copy of the GNU General Public License
|
|
|
|
along with GNU Libtool; if not, write to the Free Software
|
2005-04-22 18:10:31 +08:00
|
|
|
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
|
|
|
|
02110-1301 USA
|
2002-10-25 11:28:43 +08:00
|
|
|
|
|
|
|
|
2004-08-29 00:15:23 +08:00
|
|
|
Local Variables:
|
|
|
|
mode: text
|
|
|
|
fill-column: 72
|
|
|
|
End:
|