Statistics
| Branch: | Tag: | Revision:

root / gr-howto-write-a-block / README @ f845cd62

History | View | Annotate | Download (1.8 kB)

1 5d69a524 jcorgan
#
2 2efbbf1f gdt
# Copyright 2005, 2006 Free Software Foundation, Inc.
3 5d69a524 jcorgan
# 
4 5d69a524 jcorgan
# This file is part of GNU Radio
5 5d69a524 jcorgan
# 
6 5d69a524 jcorgan
# GNU Radio is free software; you can redistribute it and/or modify
7 5d69a524 jcorgan
# it under the terms of the GNU General Public License as published by
8 937b719d eb
# the Free Software Foundation; either version 3, or (at your option)
9 5d69a524 jcorgan
# any later version.
10 5d69a524 jcorgan
# 
11 5d69a524 jcorgan
# GNU Radio is distributed in the hope that it will be useful,
12 5d69a524 jcorgan
# but WITHOUT ANY WARRANTY; without even the implied warranty of
13 5d69a524 jcorgan
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14 5d69a524 jcorgan
# GNU General Public License for more details.
15 5d69a524 jcorgan
# 
16 5d69a524 jcorgan
# You should have received a copy of the GNU General Public License
17 5d69a524 jcorgan
# along with GNU Radio; see the file COPYING.  If not, write to
18 86f5c924 eb
# the Free Software Foundation, Inc., 51 Franklin Street,
19 86f5c924 eb
# Boston, MA 02110-1301, USA.
20 5d69a524 jcorgan
# 
21 5d69a524 jcorgan
22 eba97622 gdt
This directory (and the resulting tarball) contains a build tree with
23 eba97622 gdt
examples, Makefiles, etc that demonstrate how to write signal
24 eba97622 gdt
processing blocks for the GNU Radio system.  This directory is
25 eba97622 gdt
intentionally distributed separately from the unified tarball of the
26 eba97622 gdt
rest of GNU Radio in order to avoid problems for people who have begun
27 eba97622 gdt
to write blocks with a modified copy of gr-howto-write-a-block.
28 5d69a524 jcorgan
29 2efbbf1f gdt
This package requires that gnuradio-core is already installed.  It
30 2efbbf1f gdt
also depends on some GNU Radio prerequisites, such as boost.
31 2efbbf1f gdt
32 5d69a524 jcorgan
To build the examples from the tarball use the normal recipe:
33 5d69a524 jcorgan
34 5d69a524 jcorgan
  $ ./configure
35 5d69a524 jcorgan
  $ make
36 5d69a524 jcorgan
  $ make check
37 5d69a524 jcorgan
38 5d69a524 jcorgan
If you're building from CVS, you'll need to use this sequence, since
39 5d69a524 jcorgan
CVS doesn't contain configure or the generated Makefiles.
40 5d69a524 jcorgan
41 5d69a524 jcorgan
  $ ./bootstrap
42 5d69a524 jcorgan
  $ ./configure
43 5d69a524 jcorgan
  $ make
44 5d69a524 jcorgan
  $ make check
45 5d69a524 jcorgan
46 5d69a524 jcorgan
47 5d69a524 jcorgan
The doc directory is not built by default.  This is to avoid spurious
48 5d69a524 jcorgan
build problems on systems that don't have xmlto installed.  If you
49 5d69a524 jcorgan
have xmlto and its dependencies installed, you can build the html
50 5d69a524 jcorgan
version of the howto article by cd'ing to doc and invoking make.