source: trunk/README.developer @ 1580

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

typo

  • 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.1 KB
RevLine 
[2]1$Id: README.developer 1559 2008-10-10 14:24:16Z peter $
2
[1372]3= Disable shared library =
[573]4
[1368]5yat uses gnu Libtool in order to build shared libraries on a variety
6of systems.  While this is very nice for making usable binaries, it
7can be a pain when trying to debug a program. For that reason,
8compilation of shared libraries can be turned off by specifying the
9`--disable-shared` option to configure.
10
[1372]11= Debugging using GDB =
12
13If shared library is enabled (default), libtool creates wrapper
14scripts in test/ that call the test programs located in
15test/.libs. While this allow us to dynamically link against the
16temporary library in yat/, it makes straightforward usage of GDB
17impossible. For that reason libtool provides a wrapper:
18
19`#> libtool --mode=execute gdb foo_test`
20
21that sets the necessary environment variables. For more detailed
22discussion, please refer to the libtool manual:
23
24http://www.gnu.org/software/libtool/manual/libtool.html#Debugging-executables
25
[1558]26= Enable svn-clean =
[1372]27
[1558]28While `make distclean` will remove most generated files and leave you
29in a state as though you just unpacked a dist, it is sometimes useful
30to remove even more files. For this purpose there exists a target
[1559]31`svn-clean` that will remove all files not under subversion control.
[1558]32The target is not active by default, but can to be turned on with
33`./configure --enable-svn-support`. Use with care!
34
[1262]35----------------------------------------------------------------------
36{{{
[1371]37Copyright (C) 2008 Peter Johansson
[1262]38
[1469]39This file is part of yat library, http://dev.thep.lu.se/yat
[1262]40
41The yat library is free software; you can redistribute it and/or
42modify it under the terms of the GNU General Public License as
[1486]43published by the Free Software Foundation; either version 3 of the
[1262]44License, or (at your option) any later version.
45
46The yat library is distributed in the hope that it will be useful, but
47WITHOUT ANY WARRANTY; without even the implied warranty of
48MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
49General Public License for more details.
50
51You should have received a copy of the GNU General Public License
[1487]52along with yat. If not, see <http://www.gnu.org/licenses/>.
[1262]53}}}
Note: See TracBrowser for help on using the repository browser.