source: trunk/README.developer @ 1673

Last change on this file since 1673 was 1673, checked in by Peter, 13 years ago

adding some targets that should be used at release time. closes #472

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
  • Property svn:mime-type set to text/x-trac-wiki
File size: 2.2 KB
RevLine 
[2]1$Id: README.developer 1673 2008-12-22 16:54:17Z peter $
2
[1605]3= Requirements =
4
5To build from a subversion checkout, you will need Autotools. More
6specifically Automake 1.10 (or later), Autoconf 2.60 (or later), and
7Libtool are required.
8
[1372]9= Disable shared library =
[573]10
[1368]11yat uses gnu Libtool in order to build shared libraries on a variety
12of systems.  While this is very nice for making usable binaries, it
13can be a pain when trying to debug a program. For that reason,
14compilation of shared libraries can be turned off by specifying the
15`--disable-shared` option to configure.
16
[1372]17= Debugging using GDB =
18
19If shared library is enabled (default), libtool creates wrapper
[1638]20scripts in directory test/ that call the test programs located in
21directory test/.libs/. While this allows us to dynamically link against
22the temporary library in yat/, it makes straightforward usage of GDB
[1372]23impossible. For that reason libtool provides a wrapper:
24
25`#> libtool --mode=execute gdb foo_test`
26
27that sets the necessary environment variables. For more detailed
28discussion, please refer to the libtool manual:
29
30http://www.gnu.org/software/libtool/manual/libtool.html#Debugging-executables
31
[1673]32= Enable svn-support =
[1372]33
[1673]34If you are building from an svn wc, you may run '`configure`' with
35option '`--enable-svn-support`' to turn on some extra make
36targets. Most of the targets are useful at release time, i.e.,
37probably not very useful for other developers than the release
38manager. See '`build_support/svn_support.am`' for more details.
[1558]39
[1262]40----------------------------------------------------------------------
41{{{
[1371]42Copyright (C) 2008 Peter Johansson
[1262]43
[1469]44This file is part of yat library, http://dev.thep.lu.se/yat
[1262]45
46The yat library is free software; you can redistribute it and/or
47modify it under the terms of the GNU General Public License as
[1486]48published by the Free Software Foundation; either version 3 of the
[1262]49License, or (at your option) any later version.
50
51The yat library is distributed in the hope that it will be useful, but
52WITHOUT ANY WARRANTY; without even the implied warranty of
53MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
54General Public License for more details.
55
56You should have received a copy of the GNU General Public License
[1487]57along with yat. If not, see <http://www.gnu.org/licenses/>.
[1262]58}}}
Note: See TracBrowser for help on using the repository browser.