On Oct 7, 3:59pm, [email protected] (Riccardo Mottola) wrote:
-- Subject: Re: build broken -groff and c++ compiler
| First I did it for lib and bin in usr, sbin, usr.bin, usr.sbin. All
| executed without errors.
|
| Then I got back into
|
| /usr/src/external/gpl3/binutils
|
| and modified your suggestion with the following:
| for i in lib usr.bin usr.sbin; do (cd $i && make cleandir && make obj &
| make dependall USETOOLS=never && make install); done
|
| Finally it executed without errors.
|
| At this point, i tried to update my distribution, but it still fails:
|
| checking that C++ static constructors and destructors are called... no
| configure: error: a working C++ compiler is required
|
| What can I do? rebuild my compiler, how?
| May I suppose I can run:
|
| make cleandir && make obj & make dependall USETOOLS=never && make
| install in external/gplv3/gcc ?
What does g++ the following say?
#include <iostream>
int
main(int argc, char *argv[])
{
std::cerr << "Hello World" << std::endl;
return 0;
}
christos