source: trunk/README.developer @ 1381

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

forgot to save file before committing [1371]

  • 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: 1.7 KB
RevLine 
[2]1$Id: README.developer 1372 2008-07-15 18:35:08Z 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
26
[1262]27----------------------------------------------------------------------
28{{{
[1371]29Copyright (C) 2008 Peter Johansson
[1262]30
31This file is part of yat library, http://trac.thep.lu.se/yat
32
33The yat library is free software; you can redistribute it and/or
34modify it under the terms of the GNU General Public License as
35published by the Free Software Foundation; either version 2 of the
36License, or (at your option) any later version.
37
38The yat library is distributed in the hope that it will be useful, but
39WITHOUT ANY WARRANTY; without even the implied warranty of
40MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
41General Public License for more details.
42
43You should have received a copy of the GNU General Public License
44along with this program; if not, write to the Free Software
45Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
46USA.
47}}}
Note: See TracBrowser for help on using the repository browser.