[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
Re: [Discuss-gnuradio] When Modifying a Block Do We Have to Recompile Everything?
Tue, 21 Aug 2012 17:48:51 -0400
On Tue, Aug 21, 2012 at 2:27 PM, Frederick Lee <address@hidden> wrote:
> 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?
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
So if you are changing a block in gr-digital, you can just:
make test (or ctest)
sudo make install