source: trunk/README.developer @ 1504

Last change on this file since 1504 was 1487, checked in by Jari Häkkinen, 13 years ago

Addresses #436. GPL license copy reference should also be updated.

  • 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 1487 2008-09-10 08:41:36Z jari $
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
[1469]31This file is part of yat library, http://dev.thep.lu.se/yat
[1262]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
[1486]35published by the Free Software Foundation; either version 3 of the
[1262]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
[1487]44along with yat. If not, see <http://www.gnu.org/licenses/>.
[1262]45}}}
Note: See TracBrowser for help on using the repository browser.