0

I did use the Make to build bitcoin source [https://github.com/bitcoin/bitcoin]. every thing went ok.

then I have changed one of file bitcoind.cpp , and issue the Make command again, but this time Make has tried to build all bitcoin source again.

my question is how to do Incremental build for bitcoin?

my system is ubuntu, and g++ is Ubuntu 5.4.0-6ubuntu1~16.04.6

closed as off-topic by Willtech, Зелёный, pebwindkraft, chytrik, Osias Jota Mar 18 '18 at 4:42

  • This question does not appear to be about Bitcoin within the scope defined in the help center.
If this question can be reworded to fit the rules in the help center, please edit the question.

  • 4
    I'm voting to close this question as off-topic because it is a general how-to-build or how-to-make question and probably belongs on Linux or Ubuntu forums somewhere. – Willtech Mar 6 '18 at 8:15
  • @Willtech, look, this is explanation regarding "bitcoincore-development". This tag should be used for questions regarding Bitcoin Core development. This includes questions about the source code and development of Bitcoin Core – Software Wisdom Mar 6 '18 at 8:22
  • Kind of, yes ... if make is not behaving correctly, then it must be found why. As explained in “how to raise a good question”, it should show how the OP has given some efforts into debugging the error. Just throwing a problem here is deemed to be unsuccessful- we all are busy working. That said, I guess a fresh start with make/automake and a “hello world” should be first steps. If you don’t know how to do this, then willtech is right. If you were able to do so, next step would be to verify versions and maybe log file of involved tools. – pebwindkraft Mar 7 '18 at 17:04
  • If you don’t know how make/automake/autoconf work, again, willtech is right. And if then an error is in bitcoin code in line xyz, then this is the right platform :-) – pebwindkraft Mar 7 '18 at 17:04
0

AFAIK there is no way to incrementally make. You either make or you don't.

But, you could try >make bitcoin-qt and see if it just makes that module? Nope:

>make bitcoin-qt
make: *** No rule to make target 'bitcoin-qt'.  Stop.

Not the answer you're looking for? Browse other questions tagged or ask your own question.