discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Discuss-gnuradio] building local programs


From: Eric Blossom
Subject: Re: [Discuss-gnuradio] building local programs
Date: Wed, 2 Jul 2003 10:44:16 -0700
User-agent: Mutt/1.4i

On Wed, Jul 02, 2003 at 12:18:41AM -0600, Joseph DiVerdi wrote:

> I've successfully installed gnuradio-0.8 and have rolled up my
> sleeves to work on my specific applications.

Yeah!

> In order to get a feel for the system I've been working in the
> "examples" directory, studying the existing programs and developing
> my own. For my convenience I've modified "Makefile.in" to add the
> name of my new program(s) and invoked "make Makefile" to generate a
> new "Makefile". Then I could just edit my program(s) and invoke
> "make" to do the build. It works well and is very convenient.
>
> Is there a standard, approved, or planned way to do what I just
> kludged together? It was necessary to make somewhere around a
> half-dozen additions to the "Makefile.in" file.
>
> Best regards,
> Joseph

We use automake, autoconf and libtool.  autoconf and libtool should
remain quietly in the background.  You shouldn't need to know anything
about them.

We generate the Makefile.in's from the Makefile.am's using automake.
If you look at the Makefile.am's, you'll notice that they are pretty
short and straightforward.  Much less cruft than the Makefile.in's.

The generation of the Makefile.in's from Makefile.am's occurs mostly
automatically as long as you run configure with the
--enable-maintainer-mode option.  Note that when you use the
--enable-maintainer-mode option, you need to use the same set of auto
tools as the rest of the active developers.  This includes:

       autoconf 2.57    or later
       automake 1.7.4   or later
       libtool  1.5     or later
       swig     1.3.19  or later

If things don't go smoothly, try running ./bootstrap in the top
directory followed by ./configure --enable-maintainer-mode

There's another way to build additions using <I don't remember>, as
suggested by Stephane Fillod.  This requires a patch to GNU Radio
which I've misplaced and is supposed to allow you to build outside of
the gnuradio build tree easily.  

[Stephane, can you please resend the patch and I'll apply it.]

Eric




reply via email to

[Prev in Thread] Current Thread [Next in Thread]