discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] When Modifying a Block Do We Have to Recompile Ev


From: Tom Rondeau
Subject: Re: [Discuss-gnuradio] When Modifying a Block Do We Have to Recompile Everything?
Date: Tue, 21 Aug 2012 17:48:51 -0400

On Tue, Aug 21, 2012 at 2:27 PM, Frederick Lee <address@hidden> wrote:
> HI,
>
> I wanted to modify a block and use it. Will I have to recompile everything
> or can I just use it without compiling?
> I'm still new to Linux, so if I need to compile can someone provide a link
> to some instructions to do so?
>
> Thanks,
>
> Frederick

Frederick,

You will have to recompile and reinstall, but not everything. If you
are modifying a single block, you can just rebuild from that
components directory. You want to do the entire component to make sure
SWIG is initiated again to rebuild the Python interface. But this is
much quicker than rebuilding from the top source directory that would
walk through all directories (it won't rebuild them, but the walking
takes time).

So if you are changing a block in gr-digital, you can just:

cd gr-digital
make
make test (or ctest)
sudo make install

Tom



reply via email to

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