I have been trying to build gcc-4.2.1 on a Sun Solaris system, but have been unsuccesfull. I have configured using the following command : ./configure --prefix=/users/ackooij/softs/gcc-4.2.1SunOS/ --with-gnu-as --with-gnu-ld --enable-languages=c,c++ --disable-libgcj --build=sparc-sun-solaris2.8 Furthermore i have changed the following in the configure script : (otherwise i couldnt build anythign since /usr/ccs/bin/ar did not work correctly) *-*-beos* | \ *-*-elf* | \ *-*-hpux* | \ *-*-netware* | \ *-*-nto-qnx* | \ *-*-rtems* | \ *-*-solaris2* | \ *-*-sysv45* | \ *-*-vxworks* | \ *-wrs-windiss) #md_exec_prefix=/usr/ccs/bin md_exec_prefix=/logiciels/public/bin echo "Solaris Modif : /usr/ccs/bin : changed into $md_exec_prefix \n" ;; And changed the following in Makefile : echo Comparing stages 2 and 3 ; \ cd ${HOST_SUBDIR} ; \ cd stage3-gcc; \ in the "compare" command. Otherwise i had an error telling me that stage3-gcc does not exist. Now i get the following error messages (i have only copied the last bit) : ld: fatal: relocation error: R_SPARC_32: file ../libiberty/libiberty.a(xstrdup.o): symbol <unknown>: offset 0xfec9119d is non-aligned ld: fatal: relocation error: R_SPARC_32: file ../libiberty/libiberty.a(xstrerror.o): symbol <unknown>: offset 0xfec911bb is non-aligned ld: fatal: relocation error: R_SPARC_32: file ../libiberty/libiberty.a(xexit.o): symbol <unknown>: offset 0xfec911db is non-aligned ld: fatal: relocation error: R_SPARC_32: file ../libiberty/libiberty.a(regex.o): symbol <unknown>: offset 0xfec912ea is non-aligned ld: fatal: relocation error: R_SPARC_32: file ../libiberty/libiberty.a(fopen_unlocked.o): symbol <unknown>: offset 0xfec9130a is non-aligned ld: fatal: relocation error: R_SPARC_32: file ../libiberty/libiberty.a(xmalloc.o): symbol <unknown>: offset 0xfec9132a is non-aligned ld: fatal: relocation error: R_SPARC_32: file ../libiberty/libiberty.a(xstrdup.o): symbol <unknown>: offset 0xfec9134a is non-aligned ld: fatal: relocation error: R_SPARC_32: file ../libiberty/libiberty.a(xstrerror.o): symbol <unknown>: offset 0xfec9136a is non-aligned ld: fatal: relocation error: R_SPARC_32: file ../libiberty/libiberty.a(xexit.o): symbol <unknown>: offset 0xfec9138a is non-aligned collect2: ld returned 1 exit status make[2]: *** [full-stamp] Error 1 make[2]: Leaving directory `/users/ackooij/softs/gcc-4.2.1i/host-sparc-sun-solaris2.8/fixincludes' make[1]: *** [all-fixincludes] Error 2 make[1]: Leaving directory `/users/ackooij/softs/gcc-4.2.1i' make: *** [all] Error 2 What does this mean and how can i build gcc-4.2.1 on Sun correctly ? Many thanks in advance Wim