> What isn't clear is where that is run. I decided that I will take your > approach and try to follow the magic incantations to the very letter. OKay, > sort of. I may expand on the CFLAGS just a little bit and I have to assume, > in the absence of any data, that I shall run these "config ; make; make > check" incantations inside the GCC build dir.
Well, of course not, you must build them as usual. > $ CC='gcc -mno-app-regs -mcpu=v9 -m64 -mptr64 -g -D_POSIX_PTHREAD_SEMANTICS > -D_LARGEFILE64_SOURCE -D_TS_ERRNO' \ > > CXX='g++ -mno-app-regs -mcpu=v9 -m64 -mptr64 -g > > -D_POSIX_PTHREAD_SEMANTICS -D_LARGEFILE64_SOURCE -D_TS_ERRNO' \ > > ../gmp-5.0.5_SunOS5.10_sparcv9-for-gcc-4.7.2/configure ABI=64 > > --enable-cxx --prefix=/usr/local/gcc4 \ --libdir=/usr/local/gcc4/lib > > --build=sparc64-sun-solaris2.10 Totally puzzled here.... why on Earth are you using all these flags? Just use the configure lines posted by Ryan. > The result however, is that the gcc build dir is polluted with objects from > the gmp build. > > Not what I want most likely. Then do not build them in the GCC build dir! -- Eric Botcazou