> > The last (very annoying) issue is that when gcc bootstraps itself, the > > freshly-built compiler doesn't generate 64-bit binaries by default. > > BOOT_CFLAGS can work around that: http://gcc.gnu.org/install/build.html. > > That isn't true at all.
okay .. I'll just nod my head and agree. > > CC='cc -m64' CXX='CC -m64' ../gmp-5.0.1-src/configure > > --prefix=$HOME/apps/gcc-4.7.2 --build=sparc64-sun-solaris2.10 > > --disable-shared 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. After all, I already have gmp/mpfr/mpc built, tested and installed therefore I have to assume this is a way to avoid needing them in the gcc source tree. Here is what I did with gmp : $ ls $SRC/gmp* /usr/local/src/gmp-5.0.5.tar.bz2 $ /opt/schily/bin/star -x -bz -xdir -xdot -U -fs=16m file=/usr/local/src/gmp-5.0.5.tar.bz2 star: 1262 blocks + 0 bytes (total of 12922880 bytes = 12620.00k). $ mv gmp-5.0.5 gmp-5.0.5_SunOS5.10_sparcv9-for-gcc-4.7.2 $ mkdir gcc-4.7.2_sparc64-sun-solaris2.10.ebotcazou $ cd gcc-4.7.2_sparc64-sun-solaris2.10.ebotcazou So now that I am in the gcc build dir ( named after you actually ) I do this : $ 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 checking build system type... sparc64-sun-solaris2.10 checking host system type... sparc64-sun-solaris2.10 checking for a BSD-compatible install... ../gmp-5.0.5_SunOS5.10_sparcv9-for-gcc-4.7.2/install-sh -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... ../gmp-5.0.5_SunOS5.10_sparcv9-for-gcc-4.7.2/install-sh -c -d checking for gawk... gawk checking whether /usr/local/bin/gmake sets $(MAKE)... yes checking whether to enable maintainer-specific portions of Makefiles... no checking ABI=64 checking compiler gcc -mno-app-regs -mcpu=v9 -m64 -mptr64 -g -D_POSIX_PTHREAD_SEMANTICS -D_LARGEFILE64_SOURCE -D_TS_ERRNO -mno-app-regs -mcpu=v9 -m64 -mptr64 -g -D_POSIX_PTHREAD_SEMANTICS -D_LARGEFILE64_SOURCE -D_TS_ERRNO -I/usr/local/include:/opt/csw/gcc4/include... yes checking compiler gcc -mno-app-regs -mcpu=v9 -m64 -mptr64 -g -D_POSIX_PTHREAD_SEMANTICS -D_LARGEFILE64_SOURCE -D_TS_ERRNO -mno-app-regs -mcpu=v9 -m64 -mptr64 -g -D_POSIX_PTHREAD_SEMANTICS -D_LARGEFILE64_SOURCE -D_TS_ERRNO has sizeof(long)==8... yes checking for gcc... gcc -mno-app-regs -mcpu=v9 -m64 -mptr64 -g -D_POSIX_PTHREAD_SEMANTICS -D_LARGEFILE64_SOURCE -D_TS_ERRNO checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc -mno-app-regs -mcpu=v9 -m64 -mptr64 -g -D_POSIX_PTHREAD_SEMANTICS -D_LARGEFILE64_SOURCE -D_TS_ERRNO accepts -g... yes checking for gcc -mno-app-regs -mcpu=v9 -m64 -mptr64 -g -D_POSIX_PTHREAD_SEMANTICS -D_LARGEFILE64_SOURCE -D_TS_ERRNO option to accept ISO C89... none needed checking for gcc -mno-app-regs -mcpu=v9 -m64 -mptr64 -g -D_POSIX_PTHREAD_SEMANTICS -D_LARGEFILE64_SOURCE -D_TS_ERRNO option to accept ISO C99... -std=gnu99 checking for gcc -mno-app-regs -mcpu=v9 -m64 -mptr64 -g -D_POSIX_PTHREAD_SEMANTICS -D_LARGEFILE64_SOURCE -D_TS_ERRNO -std=gnu99 option to accept ISO Standard C... (cached) -std=gnu99 checking how to run the C preprocessor... gcc -mno-app-regs -mcpu=v9 -m64 -mptr64 -g -D_POSIX_PTHREAD_SEMANTICS -D_LARGEFILE64_SOURCE -D_TS_ERRNO -std=gnu99 -E checking build system compiler gcc -mno-app-regs -mcpu=v9 -m64 -mptr64 -g -D_POSIX_PTHREAD_SEMANTICS -D_LARGEFILE64_SOURCE -D_TS_ERRNO -std=gnu99... yes checking for build system preprocessor... gcc -mno-app-regs -mcpu=v9 -m64 -mptr64 -g -D_POSIX_PTHREAD_SEMANTICS -D_LARGEFILE64_SOURCE -D_TS_ERRNO -std=gnu99 -E checking for build system executable suffix... checking whether build system compiler is ANSI... yes checking for build system compiler math library... -lm checking whether we are using the GNU C++ compiler... yes checking whether g++ -mno-app-regs -mcpu=v9 -m64 -mptr64 -g -D_POSIX_PTHREAD_SEMANTICS -D_LARGEFILE64_SOURCE -D_TS_ERRNO accepts -g... yes checking C++ compiler g++ -mno-app-regs -mcpu=v9 -m64 -mptr64 -g -D_POSIX_PTHREAD_SEMANTICS -D_LARGEFILE64_SOURCE -D_TS_ERRNO -I/usr/local/include:/opt/csw/gcc4/include -mno-app-regs -mcpu=v9 -m64 -mptr64 -g -D_POSIX_PTHREAD_SEMANTICS -D_LARGEFILE64_SOURCE -D_TS_ERRNO... yes checking how to run the C++ preprocessor... g++ -mno-app-regs -mcpu=v9 -m64 -mptr64 -g -D_POSIX_PTHREAD_SEMANTICS -D_LARGEFILE64_SOURCE -D_TS_ERRNO -E checking for grep that handles long lines and -e... /usr/xpg4/bin/grep checking for egrep... /usr/xpg4/bin/grep -E using ABI="64" CC="gcc -mno-app-regs -mcpu=v9 -m64 -mptr64 -g -D_POSIX_PTHREAD_SEMANTICS -D_LARGEFILE64_SOURCE -D_TS_ERRNO -std=gnu99" CFLAGS="-mno-app-regs -mcpu=v9 -m64 -mptr64 -g -D_POSIX_PTHREAD_SEMANTICS -D_LARGEFILE64_SOURCE -D_TS_ERRNO" CPPFLAGS="-I/usr/local/include:/opt/csw/gcc4/include" CXX="g++ -mno-app-regs -mcpu=v9 -m64 -mptr64 -g -D_POSIX_PTHREAD_SEMANTICS -D_LARGEFILE64_SOURCE -D_TS_ERRNO" CXXFLAGS="-mno-app-regs -mcpu=v9 -m64 -mptr64 -g -D_POSIX_PTHREAD_SEMANTICS -D_LARGEFILE64_SOURCE -D_TS_ERRNO" MPN_PATH=" sparc64 generic" checking for function prototypes... yes checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for string.h... (cached) yes checking whether assembler supports --noexecstack option... no checking for ar... /usr/ccs/bin/ar checking for BSD- or MS-compatible name lister (nm)... /usr/xpg4/bin/nm -p checking the name lister (/usr/xpg4/bin/nm -p) interface... BSD nm checking how to print strings... printf checking for a sed that does not truncate output... /usr/local/bin/gsed checking for fgrep... /usr/xpg4/bin/grep -F checking for ld used by gcc -mno-app-regs -mcpu=v9 -m64 -mptr64 -g -D_POSIX_PTHREAD_SEMANTICS -D_LARGEFILE64_SOURCE -D_TS_ERRNO -std=gnu99... /usr/ccs/bin/ld checking if the linker (/usr/ccs/bin/ld) is GNU ld... no checking whether ln -s works... yes checking the maximum length of command line arguments... 786240 checking whether the shell understands some XSI constructs... no checking whether the shell understands "+="... no checking how to convert sparc64-sun-solaris2.10 file names to sparc64-sun-solaris2.10 format... func_convert_file_noop checking how to convert sparc64-sun-solaris2.10 file names to toolchain format... func_convert_file_noop checking for /usr/ccs/bin/ld option to reload object files... -r checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for dlltool... dlltool checking how to associate runtime and link libraries... printf %s\n checking for archiver @FILE support... no checking for strip... strip checking for ranlib... ranlib checking command to parse /usr/xpg4/bin/nm -p output from gcc -mno-app-regs -mcpu=v9 -m64 -mptr64 -g -D_POSIX_PTHREAD_SEMANTICS -D_LARGEFILE64_SOURCE -D_TS_ERRNO -std=gnu99 object... ok checking for sysroot... no checking for mt... mt checking if mt is a manifest tool... no checking for dlfcn.h... yes checking for objdir... .libs checking if gcc -mno-app-regs -mcpu=v9 -m64 -mptr64 -g -D_POSIX_PTHREAD_SEMANTICS -D_LARGEFILE64_SOURCE -D_TS_ERRNO -std=gnu99 supports -fno-rtti -fno-exceptions... no checking for gcc -mno-app-regs -mcpu=v9 -m64 -mptr64 -g -D_POSIX_PTHREAD_SEMANTICS -D_LARGEFILE64_SOURCE -D_TS_ERRNO -std=gnu99 option to produce PIC... -fPIC -DPIC checking if gcc -mno-app-regs -mcpu=v9 -m64 -mptr64 -g -D_POSIX_PTHREAD_SEMANTICS -D_LARGEFILE64_SOURCE -D_TS_ERRNO -std=gnu99 PIC flag -fPIC -DPIC works... yes checking if gcc -mno-app-regs -mcpu=v9 -m64 -mptr64 -g -D_POSIX_PTHREAD_SEMANTICS -D_LARGEFILE64_SOURCE -D_TS_ERRNO -std=gnu99 static flag -static works... no checking if gcc -mno-app-regs -mcpu=v9 -m64 -mptr64 -g -D_POSIX_PTHREAD_SEMANTICS -D_LARGEFILE64_SOURCE -D_TS_ERRNO -std=gnu99 supports -c -o file.o... yes checking if gcc -mno-app-regs -mcpu=v9 -m64 -mptr64 -g -D_POSIX_PTHREAD_SEMANTICS -D_LARGEFILE64_SOURCE -D_TS_ERRNO -std=gnu99 supports -c -o file.o... (cached) yes checking whether the gcc -mno-app-regs -mcpu=v9 -m64 -mptr64 -g -D_POSIX_PTHREAD_SEMANTICS -D_LARGEFILE64_SOURCE -D_TS_ERRNO -std=gnu99 linker (/usr/ccs/bin/ld -64) supports shared libraries... yes checking whether -lc should be explicitly linked in... yes checking dynamic linker characteristics... solaris2.10 ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... no checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking how to run the C++ preprocessor... g++ -mno-app-regs -mcpu=v9 -m64 -mptr64 -g -D_POSIX_PTHREAD_SEMANTICS -D_LARGEFILE64_SOURCE -D_TS_ERRNO -E checking for ld used by g++ -mno-app-regs -mcpu=v9 -m64 -mptr64 -g -D_POSIX_PTHREAD_SEMANTICS -D_LARGEFILE64_SOURCE -D_TS_ERRNO... /usr/ccs/bin/ld -64 checking if the linker (/usr/ccs/bin/ld -64) is GNU ld... no checking whether the g++ -mno-app-regs -mcpu=v9 -m64 -mptr64 -g -D_POSIX_PTHREAD_SEMANTICS -D_LARGEFILE64_SOURCE -D_TS_ERRNO linker (/usr/ccs/bin/ld -64) supports shared libraries... yes checking for g++ -mno-app-regs -mcpu=v9 -m64 -mptr64 -g -D_POSIX_PTHREAD_SEMANTICS -D_LARGEFILE64_SOURCE -D_TS_ERRNO option to produce PIC... -fPIC -DPIC checking if g++ -mno-app-regs -mcpu=v9 -m64 -mptr64 -g -D_POSIX_PTHREAD_SEMANTICS -D_LARGEFILE64_SOURCE -D_TS_ERRNO PIC flag -fPIC -DPIC works... yes checking if g++ -mno-app-regs -mcpu=v9 -m64 -mptr64 -g -D_POSIX_PTHREAD_SEMANTICS -D_LARGEFILE64_SOURCE -D_TS_ERRNO static flag -static works... no checking if g++ -mno-app-regs -mcpu=v9 -m64 -mptr64 -g -D_POSIX_PTHREAD_SEMANTICS -D_LARGEFILE64_SOURCE -D_TS_ERRNO supports -c -o file.o... yes checking if g++ -mno-app-regs -mcpu=v9 -m64 -mptr64 -g -D_POSIX_PTHREAD_SEMANTICS -D_LARGEFILE64_SOURCE -D_TS_ERRNO supports -c -o file.o... (cached) yes checking whether the g++ -mno-app-regs -mcpu=v9 -m64 -mptr64 -g -D_POSIX_PTHREAD_SEMANTICS -D_LARGEFILE64_SOURCE -D_TS_ERRNO linker (/usr/ccs/bin/ld -64) supports shared libraries... yes checking dynamic linker characteristics... solaris2.10 ld.so checking how to hardcode library paths into programs... immediate checking for ANSI C header files... (cached) yes checking whether time.h and sys/time.h may both be included... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking float.h usability... yes checking float.h presence... yes checking for float.h... yes checking invent.h usability... no checking invent.h presence... no checking for invent.h... no checking langinfo.h usability... yes checking langinfo.h presence... yes checking for langinfo.h... yes checking locale.h usability... yes checking locale.h presence... yes checking for locale.h... yes checking nl_types.h usability... yes checking nl_types.h presence... yes checking for nl_types.h... yes checking sys/attributes.h usability... no checking sys/attributes.h presence... no checking for sys/attributes.h... no checking sys/iograph.h usability... no checking sys/iograph.h presence... no checking for sys/iograph.h... no checking sys/mman.h usability... yes checking sys/mman.h presence... yes checking for sys/mman.h... yes checking sys/param.h usability... yes checking sys/param.h presence... yes checking for sys/param.h... yes checking sys/processor.h usability... yes checking sys/processor.h presence... yes checking for sys/processor.h... yes checking sys/pstat.h usability... no checking sys/pstat.h presence... no checking for sys/pstat.h... no checking sys/sysinfo.h usability... yes checking sys/sysinfo.h presence... yes checking for sys/sysinfo.h... yes checking sys/syssgi.h usability... no checking sys/syssgi.h presence... no checking for sys/syssgi.h... no checking sys/systemcfg.h usability... no checking sys/systemcfg.h presence... no checking for sys/systemcfg.h... no checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking sys/times.h usability... yes checking sys/times.h presence... yes checking for sys/times.h... yes checking for sys/resource.h... yes checking for sys/sysctl.h... no checking for machine/hal_sysinfo.h... no checking whether fgetc is declared... yes checking whether fscanf is declared... yes checking whether optarg is declared... yes checking whether ungetc is declared... yes checking whether vfprintf is declared... yes checking whether sys_errlist is declared... no checking whether sys_nerr is declared... no checking return type of signal handlers... void checking for intmax_t... yes checking for long double... yes checking for long long... yes checking for ptrdiff_t... yes checking for quad_t... yes checking for uint_least32_t... yes checking for intptr_t... yes checking for preprocessor stringizing operator... yes checking for working volatile... yes checking for C/C++ restrict keyword... __restrict checking whether <stdarg.h> exists and works... yes checking whether gcc __attribute__ ((const)) works... yes checking whether gcc __attribute__ ((malloc)) works... yes checking whether gcc __attribute__ ((mode (XX))) works... yes checking whether gcc __attribute__ ((noreturn)) works... yes checking for inline... inline checking for cos in -lm... yes checking for working alloca.h... yes checking for alloca (via gmp-impl.h)... yes checking how to allocate temporary memory... alloca checking whether byte ordering is bigendian... yes checking format of `double' floating point... IEEE big endian checking for alarm... yes checking for attr_get... no checking for clock... yes checking for clock_gettime... no checking for cputime... no checking for getpagesize... yes checking for getrusage... yes checking for gettimeofday... yes checking for getsysinfo... no checking for localeconv... yes checking for memset... yes checking for mmap... yes checking for mprotect... yes checking for nl_langinfo... yes checking for obstack_vprintf... no checking for popen... yes checking for processor_info... yes checking for pstat_getprocessor... no checking for raise... yes checking for read_real_time... no checking for sigaction... yes checking for sigaltstack... yes checking for sigstack... yes checking for syssgi... no checking for strchr... yes checking for strerror... yes checking for strnlen... no checking for strtol... yes checking for strtoul... yes checking for sysconf... yes checking for sysctl... no checking for sysctlbyname... no checking for times... yes checking for vsnprintf... yes checking whether vsnprintf works... yes checking whether sscanf needs writable input... no checking for struct pst_processor.psp_iticksperclktick... no checking sstream usability... yes checking sstream presence... yes checking for sstream... yes checking for std::locale... yes checking for suitable m4... /usr/local/bin/gm4 checking if m4wrap produces spurious output... no checking how to switch to text section... .text checking how to switch to data section... .data checking for assembler label suffix... : checking for assembler global directive... .globl checking for assembler global directive attribute... checking if globals are prefixed by underscore... no checking how to switch to read-only data section... .section ".rodata" checking for assembler .type directive... .type $1,@$2 checking for assembler .size directive... .size $1,$2 checking for assembler local label prefix... .L checking for assembler byte directive... .byte checking how to define a 32-bit word... .long checking if .align assembly directive is logarithmic... no checking if the assembler accepts ".register"... yes checking size of void *... 8 checking size of unsigned short... 2 checking size of unsigned... 4 checking size of unsigned long... 8 checking size of mp_limb_t... 8 checking for stack_t... yes checking for tputs in -lncurses... yes checking for readline in -lreadline... yes checking readline/readline.h usability... no checking readline/readline.h presence... no checking for readline/readline.h... no checking readline detected... no checking for bison... bison -y checking for flex... flex checking lex output file root... lex.yy checking lex library... -lfl checking whether yytext is a pointer... yes checking for ranlib... (cached) ranlib creating config.m4 configure: creating ./config.status config.status: creating demos/pexpr-config.h config.status: creating demos/calc/calc-config.h config.status: creating Makefile config.status: creating mpbsd/Makefile config.status: creating mpf/Makefile config.status: creating mpn/Makefile config.status: creating mpq/Makefile config.status: creating mpz/Makefile config.status: creating printf/Makefile config.status: creating scanf/Makefile config.status: creating cxx/Makefile config.status: creating tests/Makefile config.status: creating tests/devel/Makefile config.status: creating tests/mpbsd/Makefile config.status: creating tests/mpf/Makefile config.status: creating tests/mpn/Makefile config.status: creating tests/mpq/Makefile config.status: creating tests/mpz/Makefile config.status: creating tests/rand/Makefile config.status: creating tests/misc/Makefile config.status: creating tests/cxx/Makefile config.status: creating doc/Makefile config.status: creating tune/Makefile config.status: creating demos/Makefile config.status: creating demos/calc/Makefile config.status: creating demos/expr/Makefile config.status: creating gmp.h config.status: creating mp.h config.status: creating config.h config.status: linking ../gmp-5.0.5_SunOS5.10_sparcv9-for-gcc-4.7.2/mpn/generic/add.c to mpn/add.c config.status: linking ../gmp-5.0.5_SunOS5.10_sparcv9-for-gcc-4.7.2/mpn/generic/add_1.c to mpn/add_1.c config.status: linking ../gmp-5.0.5_SunOS5.10_sparcv9-for-gcc-4.7.2/mpn/sparc64/add_n.asm to mpn/add_n.asm config.status: linking ../gmp-5.0.5_SunOS5.10_sparcv9-for-gcc-4.7.2/mpn/generic/sub.c to mpn/sub.c config.status: linking ../gmp-5.0.5_SunOS5.10_sparcv9-for-gcc-4.7.2/mpn/generic/sub_1.c to mpn/sub_1.c config.status: linking ../gmp-5.0.5_SunOS5.10_sparcv9-for-gcc-4.7.2/mpn/sparc64/sub_n.asm to mpn/sub_n.asm config.status: linking ../gmp-5.0.5_SunOS5.10_sparcv9-for-gcc-4.7.2/mpn/generic/neg.c to mpn/neg.c config.status: linking ../gmp-5.0.5_SunOS5.10_sparcv9-for-gcc-4.7.2/mpn/generic/com.c to mpn/com.c config.status: linking ../gmp-5.0.5_SunOS5.10_sparcv9-for-gcc-4.7.2/mpn/sparc64/mul_1.asm to mpn/mul_1.asm config.status: linking ../gmp-5.0.5_SunOS5.10_sparcv9-for-gcc-4.7.2/mpn/sparc64/addmul_1.asm to mpn/addmul_1.asm config.status: linking ../gmp-5.0.5_SunOS5.10_sparcv9-for-gcc-4.7.2/mpn/sparc64/submul_1.asm to mpn/submul_1.asm config.status: linking ../gmp-5.0.5_SunOS5.10_sparcv9-for-gcc-4.7.2/mpn/sparc64/lshift.asm to mpn/lshift.asm config.status: linking ../gmp-5.0.5_SunOS5.10_sparcv9-for-gcc-4.7.2/mpn/sparc64/rshift.asm to mpn/rshift.asm config.status: linking ../gmp-5.0.5_SunOS5.10_sparcv9-for-gcc-4.7.2/mpn/sparc64/dive_1.c to mpn/dive_1.c config.status: linking ../gmp-5.0.5_SunOS5.10_sparcv9-for-gcc-4.7.2/mpn/generic/diveby3.c to mpn/diveby3.c config.status: linking ../gmp-5.0.5_SunOS5.10_sparcv9-for-gcc-4.7.2/mpn/generic/divis.c to mpn/divis.c config.status: linking ../gmp-5.0.5_SunOS5.10_sparcv9-for-gcc-4.7.2/mpn/generic/divrem.c to mpn/divrem.c config.status: linking ../gmp-5.0.5_SunOS5.10_sparcv9-for-gcc-4.7.2/mpn/sparc64/divrem_1.c to mpn/divrem_1.c config.status: linking ../gmp-5.0.5_SunOS5.10_sparcv9-for-gcc-4.7.2/mpn/generic/divrem_2.c to mpn/divrem_2.c config.status: linking ../gmp-5.0.5_SunOS5.10_sparcv9-for-gcc-4.7.2/mpn/generic/fib2_ui.c to mpn/fib2_ui.c config.status: linking ../gmp-5.0.5_SunOS5.10_sparcv9-for-gcc-4.7.2/mpn/sparc64/mod_1.c to mpn/mod_1.c config.status: linking ../gmp-5.0.5_SunOS5.10_sparcv9-for-gcc-4.7.2/mpn/generic/mod_34lsub1.c to mpn/mod_34lsub1.c config.status: linking ../gmp-5.0.5_SunOS5.10_sparcv9-for-gcc-4.7.2/mpn/sparc64/mode1o.c to mpn/mode1o.c config.status: linking ../gmp-5.0.5_SunOS5.10_sparcv9-for-gcc-4.7.2/mpn/generic/pre_divrem_1.c to mpn/pre_divrem_1.c config.status: linking ../gmp-5.0.5_SunOS5.10_sparcv9-for-gcc-4.7.2/mpn/generic/pre_mod_1.c to mpn/pre_mod_1.c config.status: linking ../gmp-5.0.5_SunOS5.10_sparcv9-for-gcc-4.7.2/mpn/generic/dump.c to mpn/dump.c config.status: linking ../gmp-5.0.5_SunOS5.10_sparcv9-for-gcc-4.7.2/mpn/generic/mod_1_1.c to mpn/mod_1_1.c config.status: linking ../gmp-5.0.5_SunOS5.10_sparcv9-for-gcc-4.7.2/mpn/generic/mod_1_2.c to mpn/mod_1_2.c config.status: linking ../gmp-5.0.5_SunOS5.10_sparcv9-for-gcc-4.7.2/mpn/generic/mod_1_3.c to mpn/mod_1_3.c config.status: linking ../gmp-5.0.5_SunOS5.10_sparcv9-for-gcc-4.7.2/mpn/generic/mod_1_4.c to mpn/mod_1_4.c config.status: linking ../gmp-5.0.5_SunOS5.10_sparcv9-for-gcc-4.7.2/mpn/generic/lshiftc.c to mpn/lshiftc.c config.status: linking ../gmp-5.0.5_SunOS5.10_sparcv9-for-gcc-4.7.2/mpn/generic/mul.c to mpn/mul.c config.status: linking ../gmp-5.0.5_SunOS5.10_sparcv9-for-gcc-4.7.2/mpn/generic/mul_fft.c to mpn/mul_fft.c config.status: linking ../gmp-5.0.5_SunOS5.10_sparcv9-for-gcc-4.7.2/mpn/generic/mul_n.c to mpn/mul_n.c config.status: linking ../gmp-5.0.5_SunOS5.10_sparcv9-for-gcc-4.7.2/mpn/generic/sqr.c to mpn/sqr.c config.status: linking ../gmp-5.0.5_SunOS5.10_sparcv9-for-gcc-4.7.2/mpn/generic/mul_basecase.c to mpn/mul_basecase.c config.status: linking ../gmp-5.0.5_SunOS5.10_sparcv9-for-gcc-4.7.2/mpn/generic/sqr_basecase.c to mpn/sqr_basecase.c config.status: linking ../gmp-5.0.5_SunOS5.10_sparcv9-for-gcc-4.7.2/mpn/generic/nussbaumer_mul.c to mpn/nussbaumer_mul.c config.status: linking ../gmp-5.0.5_SunOS5.10_sparcv9-for-gcc-4.7.2/mpn/generic/random.c to mpn/random.c config.status: linking ../gmp-5.0.5_SunOS5.10_sparcv9-for-gcc-4.7.2/mpn/generic/random2.c to mpn/random2.c config.status: linking ../gmp-5.0.5_SunOS5.10_sparcv9-for-gcc-4.7.2/mpn/generic/pow_1.c to mpn/pow_1.c config.status: linking ../gmp-5.0.5_SunOS5.10_sparcv9-for-gcc-4.7.2/mpn/generic/rootrem.c to mpn/rootrem.c config.status: linking ../gmp-5.0.5_SunOS5.10_sparcv9-for-gcc-4.7.2/mpn/generic/sqrtrem.c to mpn/sqrtrem.c config.status: linking ../gmp-5.0.5_SunOS5.10_sparcv9-for-gcc-4.7.2/mpn/generic/get_str.c to mpn/get_str.c config.status: linking ../gmp-5.0.5_SunOS5.10_sparcv9-for-gcc-4.7.2/mpn/generic/set_str.c to mpn/set_str.c config.status: linking ../gmp-5.0.5_SunOS5.10_sparcv9-for-gcc-4.7.2/mpn/generic/scan0.c to mpn/scan0.c config.status: linking ../gmp-5.0.5_SunOS5.10_sparcv9-for-gcc-4.7.2/mpn/generic/scan1.c to mpn/scan1.c config.status: linking ../gmp-5.0.5_SunOS5.10_sparcv9-for-gcc-4.7.2/mpn/generic/popham.c to mpn/popcount.c config.status: linking ../gmp-5.0.5_SunOS5.10_sparcv9-for-gcc-4.7.2/mpn/generic/popham.c to mpn/hamdist.c config.status: linking ../gmp-5.0.5_SunOS5.10_sparcv9-for-gcc-4.7.2/mpn/generic/cmp.c to mpn/cmp.c config.status: linking ../gmp-5.0.5_SunOS5.10_sparcv9-for-gcc-4.7.2/mpn/generic/perfsqr.c to mpn/perfsqr.c config.status: linking ../gmp-5.0.5_SunOS5.10_sparcv9-for-gcc-4.7.2/mpn/generic/perfpow.c to mpn/perfpow.c config.status: linking ../gmp-5.0.5_SunOS5.10_sparcv9-for-gcc-4.7.2/mpn/generic/gcd_1.c to mpn/gcd_1.c config.status: linking ../gmp-5.0.5_SunOS5.10_sparcv9-for-gcc-4.7.2/mpn/generic/gcd.c to mpn/gcd.c config.status: linking ../gmp-5.0.5_SunOS5.10_sparcv9-for-gcc-4.7.2/mpn/generic/gcdext_1.c to mpn/gcdext_1.c config.status: linking ../gmp-5.0.5_SunOS5.10_sparcv9-for-gcc-4.7.2/mpn/generic/gcdext.c to mpn/gcdext.c config.status: linking ../gmp-5.0.5_SunOS5.10_sparcv9-for-gcc-4.7.2/mpn/generic/gcd_lehmer.c to mpn/gcd_lehmer.c config.status: linking ../gmp-5.0.5_SunOS5.10_sparcv9-for-gcc-4.7.2/mpn/generic/gcd_subdiv_step.c to mpn/gcd_subdiv_step.c config.status: linking ../gmp-5.0.5_SunOS5.10_sparcv9-for-gcc-4.7.2/mpn/generic/gcdext_lehmer.c to mpn/gcdext_lehmer.c config.status: linking ../gmp-5.0.5_SunOS5.10_sparcv9-for-gcc-4.7.2/mpn/generic/gcdext_subdiv_step.c to mpn/gcdext_subdiv_step.c config.status: linking ../gmp-5.0.5_SunOS5.10_sparcv9-for-gcc-4.7.2/mpn/generic/div_q.c to mpn/div_q.c config.status: linking ../gmp-5.0.5_SunOS5.10_sparcv9-for-gcc-4.7.2/mpn/generic/tdiv_qr.c to mpn/tdiv_qr.c config.status: linking ../gmp-5.0.5_SunOS5.10_sparcv9-for-gcc-4.7.2/mpn/generic/jacbase.c to mpn/jacbase.c config.status: linking ../gmp-5.0.5_SunOS5.10_sparcv9-for-gcc-4.7.2/mpn/generic/get_d.c to mpn/get_d.c config.status: linking ../gmp-5.0.5_SunOS5.10_sparcv9-for-gcc-4.7.2/mpn/generic/matrix22_mul.c to mpn/matrix22_mul.c config.status: linking ../gmp-5.0.5_SunOS5.10_sparcv9-for-gcc-4.7.2/mpn/generic/hgcd2.c to mpn/hgcd2.c config.status: linking ../gmp-5.0.5_SunOS5.10_sparcv9-for-gcc-4.7.2/mpn/generic/hgcd.c to mpn/hgcd.c config.status: linking ../gmp-5.0.5_SunOS5.10_sparcv9-for-gcc-4.7.2/mpn/generic/mullo_n.c to mpn/mullo_n.c config.status: linking ../gmp-5.0.5_SunOS5.10_sparcv9-for-gcc-4.7.2/mpn/generic/mullo_basecase.c to mpn/mullo_basecase.c config.status: linking ../gmp-5.0.5_SunOS5.10_sparcv9-for-gcc-4.7.2/mpn/generic/toom22_mul.c to mpn/toom22_mul.c config.status: linking ../gmp-5.0.5_SunOS5.10_sparcv9-for-gcc-4.7.2/mpn/generic/toom32_mul.c to mpn/toom32_mul.c config.status: linking ../gmp-5.0.5_SunOS5.10_sparcv9-for-gcc-4.7.2/mpn/generic/toom42_mul.c to mpn/toom42_mul.c config.status: linking ../gmp-5.0.5_SunOS5.10_sparcv9-for-gcc-4.7.2/mpn/generic/toom52_mul.c to mpn/toom52_mul.c config.status: linking ../gmp-5.0.5_SunOS5.10_sparcv9-for-gcc-4.7.2/mpn/generic/toom62_mul.c to mpn/toom62_mul.c config.status: linking ../gmp-5.0.5_SunOS5.10_sparcv9-for-gcc-4.7.2/mpn/generic/toom33_mul.c to mpn/toom33_mul.c config.status: linking ../gmp-5.0.5_SunOS5.10_sparcv9-for-gcc-4.7.2/mpn/generic/toom43_mul.c to mpn/toom43_mul.c config.status: linking ../gmp-5.0.5_SunOS5.10_sparcv9-for-gcc-4.7.2/mpn/generic/toom53_mul.c to mpn/toom53_mul.c config.status: linking ../gmp-5.0.5_SunOS5.10_sparcv9-for-gcc-4.7.2/mpn/generic/toom63_mul.c to mpn/toom63_mul.c config.status: linking ../gmp-5.0.5_SunOS5.10_sparcv9-for-gcc-4.7.2/mpn/generic/toom44_mul.c to mpn/toom44_mul.c config.status: linking ../gmp-5.0.5_SunOS5.10_sparcv9-for-gcc-4.7.2/mpn/generic/toom6h_mul.c to mpn/toom6h_mul.c config.status: linking ../gmp-5.0.5_SunOS5.10_sparcv9-for-gcc-4.7.2/mpn/generic/toom6_sqr.c to mpn/toom6_sqr.c config.status: linking ../gmp-5.0.5_SunOS5.10_sparcv9-for-gcc-4.7.2/mpn/generic/toom8h_mul.c to mpn/toom8h_mul.c config.status: linking ../gmp-5.0.5_SunOS5.10_sparcv9-for-gcc-4.7.2/mpn/generic/toom8_sqr.c to mpn/toom8_sqr.c config.status: linking ../gmp-5.0.5_SunOS5.10_sparcv9-for-gcc-4.7.2/mpn/generic/toom_couple_handling.c to mpn/toom_couple_handling.c config.status: linking ../gmp-5.0.5_SunOS5.10_sparcv9-for-gcc-4.7.2/mpn/generic/toom2_sqr.c to mpn/toom2_sqr.c config.status: linking ../gmp-5.0.5_SunOS5.10_sparcv9-for-gcc-4.7.2/mpn/generic/toom3_sqr.c to mpn/toom3_sqr.c config.status: linking ../gmp-5.0.5_SunOS5.10_sparcv9-for-gcc-4.7.2/mpn/generic/toom4_sqr.c to mpn/toom4_sqr.c config.status: linking ../gmp-5.0.5_SunOS5.10_sparcv9-for-gcc-4.7.2/mpn/generic/toom_eval_dgr3_pm1.c to mpn/toom_eval_dgr3_pm1.c config.status: linking ../gmp-5.0.5_SunOS5.10_sparcv9-for-gcc-4.7.2/mpn/generic/toom_eval_dgr3_pm2.c to mpn/toom_eval_dgr3_pm2.c config.status: linking ../gmp-5.0.5_SunOS5.10_sparcv9-for-gcc-4.7.2/mpn/generic/toom_eval_pm1.c to mpn/toom_eval_pm1.c config.status: linking ../gmp-5.0.5_SunOS5.10_sparcv9-for-gcc-4.7.2/mpn/generic/toom_eval_pm2.c to mpn/toom_eval_pm2.c config.status: linking ../gmp-5.0.5_SunOS5.10_sparcv9-for-gcc-4.7.2/mpn/generic/toom_eval_pm2exp.c to mpn/toom_eval_pm2exp.c config.status: linking ../gmp-5.0.5_SunOS5.10_sparcv9-for-gcc-4.7.2/mpn/generic/toom_eval_pm2rexp.c to mpn/toom_eval_pm2rexp.c config.status: linking ../gmp-5.0.5_SunOS5.10_sparcv9-for-gcc-4.7.2/mpn/generic/toom_interpolate_5pts.c to mpn/toom_interpolate_5pts.c config.status: linking ../gmp-5.0.5_SunOS5.10_sparcv9-for-gcc-4.7.2/mpn/generic/toom_interpolate_6pts.c to mpn/toom_interpolate_6pts.c config.status: linking ../gmp-5.0.5_SunOS5.10_sparcv9-for-gcc-4.7.2/mpn/generic/toom_interpolate_7pts.c to mpn/toom_interpolate_7pts.c config.status: linking ../gmp-5.0.5_SunOS5.10_sparcv9-for-gcc-4.7.2/mpn/generic/toom_interpolate_8pts.c to mpn/toom_interpolate_8pts.c config.status: linking ../gmp-5.0.5_SunOS5.10_sparcv9-for-gcc-4.7.2/mpn/generic/toom_interpolate_12pts.c to mpn/toom_interpolate_12pts.c config.status: linking ../gmp-5.0.5_SunOS5.10_sparcv9-for-gcc-4.7.2/mpn/generic/toom_interpolate_16pts.c to mpn/toom_interpolate_16pts.c config.status: linking ../gmp-5.0.5_SunOS5.10_sparcv9-for-gcc-4.7.2/mpn/generic/invertappr.c to mpn/invertappr.c config.status: linking ../gmp-5.0.5_SunOS5.10_sparcv9-for-gcc-4.7.2/mpn/generic/invert.c to mpn/invert.c config.status: linking ../gmp-5.0.5_SunOS5.10_sparcv9-for-gcc-4.7.2/mpn/generic/binvert.c to mpn/binvert.c config.status: linking ../gmp-5.0.5_SunOS5.10_sparcv9-for-gcc-4.7.2/mpn/generic/mulmod_bnm1.c to mpn/mulmod_bnm1.c config.status: linking ../gmp-5.0.5_SunOS5.10_sparcv9-for-gcc-4.7.2/mpn/generic/sqrmod_bnm1.c to mpn/sqrmod_bnm1.c config.status: linking ../gmp-5.0.5_SunOS5.10_sparcv9-for-gcc-4.7.2/mpn/generic/sbpi1_div_q.c to mpn/sbpi1_div_q.c config.status: linking ../gmp-5.0.5_SunOS5.10_sparcv9-for-gcc-4.7.2/mpn/generic/sbpi1_div_qr.c to mpn/sbpi1_div_qr.c config.status: linking ../gmp-5.0.5_SunOS5.10_sparcv9-for-gcc-4.7.2/mpn/generic/sbpi1_divappr_q.c to mpn/sbpi1_divappr_q.c config.status: linking ../gmp-5.0.5_SunOS5.10_sparcv9-for-gcc-4.7.2/mpn/generic/dcpi1_div_q.c to mpn/dcpi1_div_q.c config.status: linking ../gmp-5.0.5_SunOS5.10_sparcv9-for-gcc-4.7.2/mpn/generic/dcpi1_div_qr.c to mpn/dcpi1_div_qr.c config.status: linking ../gmp-5.0.5_SunOS5.10_sparcv9-for-gcc-4.7.2/mpn/generic/dcpi1_divappr_q.c to mpn/dcpi1_divappr_q.c config.status: linking ../gmp-5.0.5_SunOS5.10_sparcv9-for-gcc-4.7.2/mpn/generic/mu_div_qr.c to mpn/mu_div_qr.c config.status: linking ../gmp-5.0.5_SunOS5.10_sparcv9-for-gcc-4.7.2/mpn/generic/mu_divappr_q.c to mpn/mu_divappr_q.c config.status: linking ../gmp-5.0.5_SunOS5.10_sparcv9-for-gcc-4.7.2/mpn/generic/mu_div_q.c to mpn/mu_div_q.c config.status: linking ../gmp-5.0.5_SunOS5.10_sparcv9-for-gcc-4.7.2/mpn/generic/bdiv_q_1.c to mpn/bdiv_q_1.c config.status: linking ../gmp-5.0.5_SunOS5.10_sparcv9-for-gcc-4.7.2/mpn/generic/sbpi1_bdiv_q.c to mpn/sbpi1_bdiv_q.c config.status: linking ../gmp-5.0.5_SunOS5.10_sparcv9-for-gcc-4.7.2/mpn/generic/sbpi1_bdiv_qr.c to mpn/sbpi1_bdiv_qr.c config.status: linking ../gmp-5.0.5_SunOS5.10_sparcv9-for-gcc-4.7.2/mpn/generic/dcpi1_bdiv_q.c to mpn/dcpi1_bdiv_q.c config.status: linking ../gmp-5.0.5_SunOS5.10_sparcv9-for-gcc-4.7.2/mpn/generic/dcpi1_bdiv_qr.c to mpn/dcpi1_bdiv_qr.c config.status: linking ../gmp-5.0.5_SunOS5.10_sparcv9-for-gcc-4.7.2/mpn/generic/mu_bdiv_q.c to mpn/mu_bdiv_q.c config.status: linking ../gmp-5.0.5_SunOS5.10_sparcv9-for-gcc-4.7.2/mpn/generic/mu_bdiv_qr.c to mpn/mu_bdiv_qr.c config.status: linking ../gmp-5.0.5_SunOS5.10_sparcv9-for-gcc-4.7.2/mpn/generic/bdiv_q.c to mpn/bdiv_q.c config.status: linking ../gmp-5.0.5_SunOS5.10_sparcv9-for-gcc-4.7.2/mpn/generic/bdiv_qr.c to mpn/bdiv_qr.c config.status: linking ../gmp-5.0.5_SunOS5.10_sparcv9-for-gcc-4.7.2/mpn/generic/divexact.c to mpn/divexact.c config.status: linking ../gmp-5.0.5_SunOS5.10_sparcv9-for-gcc-4.7.2/mpn/generic/bdiv_dbm1c.c to mpn/bdiv_dbm1c.c config.status: linking ../gmp-5.0.5_SunOS5.10_sparcv9-for-gcc-4.7.2/mpn/generic/redc_1.c to mpn/redc_1.c config.status: linking ../gmp-5.0.5_SunOS5.10_sparcv9-for-gcc-4.7.2/mpn/generic/redc_2.c to mpn/redc_2.c config.status: linking ../gmp-5.0.5_SunOS5.10_sparcv9-for-gcc-4.7.2/mpn/generic/redc_n.c to mpn/redc_n.c config.status: linking ../gmp-5.0.5_SunOS5.10_sparcv9-for-gcc-4.7.2/mpn/generic/powm.c to mpn/powm.c config.status: linking ../gmp-5.0.5_SunOS5.10_sparcv9-for-gcc-4.7.2/mpn/generic/powlo.c to mpn/powlo.c config.status: linking ../gmp-5.0.5_SunOS5.10_sparcv9-for-gcc-4.7.2/mpn/generic/powm_sec.c to mpn/powm_sec.c config.status: linking ../gmp-5.0.5_SunOS5.10_sparcv9-for-gcc-4.7.2/mpn/generic/subcnd_n.c to mpn/subcnd_n.c config.status: linking ../gmp-5.0.5_SunOS5.10_sparcv9-for-gcc-4.7.2/mpn/generic/redc_1_sec.c to mpn/redc_1_sec.c config.status: linking ../gmp-5.0.5_SunOS5.10_sparcv9-for-gcc-4.7.2/mpn/generic/trialdiv.c to mpn/trialdiv.c config.status: linking ../gmp-5.0.5_SunOS5.10_sparcv9-for-gcc-4.7.2/mpn/generic/remove.c to mpn/remove.c config.status: linking ../gmp-5.0.5_SunOS5.10_sparcv9-for-gcc-4.7.2/mpn/generic/logops_n.c to mpn/and_n.c config.status: linking ../gmp-5.0.5_SunOS5.10_sparcv9-for-gcc-4.7.2/mpn/generic/logops_n.c to mpn/andn_n.c config.status: linking ../gmp-5.0.5_SunOS5.10_sparcv9-for-gcc-4.7.2/mpn/generic/logops_n.c to mpn/nand_n.c config.status: linking ../gmp-5.0.5_SunOS5.10_sparcv9-for-gcc-4.7.2/mpn/generic/logops_n.c to mpn/ior_n.c config.status: linking ../gmp-5.0.5_SunOS5.10_sparcv9-for-gcc-4.7.2/mpn/generic/logops_n.c to mpn/iorn_n.c config.status: linking ../gmp-5.0.5_SunOS5.10_sparcv9-for-gcc-4.7.2/mpn/generic/logops_n.c to mpn/nior_n.c config.status: linking ../gmp-5.0.5_SunOS5.10_sparcv9-for-gcc-4.7.2/mpn/generic/logops_n.c to mpn/xor_n.c config.status: linking ../gmp-5.0.5_SunOS5.10_sparcv9-for-gcc-4.7.2/mpn/generic/logops_n.c to mpn/xnor_n.c config.status: linking ../gmp-5.0.5_SunOS5.10_sparcv9-for-gcc-4.7.2/mpn/sparc64/copyi.asm to mpn/copyi.asm config.status: linking ../gmp-5.0.5_SunOS5.10_sparcv9-for-gcc-4.7.2/mpn/sparc64/copyd.asm to mpn/copyd.asm config.status: linking ../gmp-5.0.5_SunOS5.10_sparcv9-for-gcc-4.7.2/mpn/generic/zero.c to mpn/zero.c config.status: linking ../gmp-5.0.5_SunOS5.10_sparcv9-for-gcc-4.7.2/mpn/sparc64/sqr_diagonal.asm to mpn/sqr_diagonal.asm config.status: linking ../gmp-5.0.5_SunOS5.10_sparcv9-for-gcc-4.7.2/mpn/sparc64/addmul_2.asm to mpn/addmul_2.asm config.status: linking ../gmp-5.0.5_SunOS5.10_sparcv9-for-gcc-4.7.2/mpn/sparc64/gmp-mparam.h to gmp-mparam.h config.status: executing libtool commands $ ran gmake, runs fine gmake check runs fine also The result however, is that the gcc build dir is polluted with objects from the gmp build. Not what I want most likely. > No, don't mess with CFLAGS_FOR_TARGET or BOOT_CFLAGS, just type 'make'. okay ! Dennis