source: trunk/README.developer @ 1605

Last change on this file since 1605 was 1605, checked in by Peter, 11 years ago

adding requirements

  • 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.3 KB
RevLine 
[2]1$Id: README.developer 1605 2008-10-28 21:40:34Z 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
20scripts in test/ that call the test programs located in
21test/.libs. While this allow us to dynamically link against the
22temporary library in yat/, it makes straightforward usage of GDB
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
[1558]32= Enable svn-clean =
[1372]33
[1558]34While `make distclean` will remove most generated files and leave you
35in a state as though you just unpacked a dist, it is sometimes useful
36to remove even more files. For this purpose there exists a target
[1604]37`svn-clean` that will remove all files not under subversion control,
38in other words, leave you in a state as though you checked out a
39pristine subversion working copy. The target is not active by default,
40but can be turned on with `./configure --enable-svn-support`. Use with
41care!
[1558]42
[1262]43----------------------------------------------------------------------
44{{{
[1371]45Copyright (C) 2008 Peter Johansson
[1262]46
[1469]47This file is part of yat library, http://dev.thep.lu.se/yat
[1262]48
49The yat library is free software; you can redistribute it and/or
50modify it under the terms of the GNU General Public License as
[1486]51published by the Free Software Foundation; either version 3 of the
[1262]52License, or (at your option) any later version.
53
54The yat library is distributed in the hope that it will be useful, but
55WITHOUT ANY WARRANTY; without even the implied warranty of
56MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
57General Public License for more details.
58
59You should have received a copy of the GNU General Public License
[1487]60along with yat. If not, see <http://www.gnu.org/licenses/>.
[1262]61}}}
Note: See TracBrowser for help on using the repository browser.