This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: the struggle for a 64-bit GCC on Solaris 10 - part 2


> On 12 November 2012 22:49, Jonathan Wakely wrote:
> > On 12 November 2012 22:37, Dennis Clarke wrote:
> >>
> >> I'm giving this a try :
> >>
> >>     CC='gcc -m64 -D__XOPEN_SOURCE=600 -g'
> >>
> >> ... thus far it has not blown up in 71 secs.  :-\
> >
> > It will fail with the same error in prettyprint.g
> 
> That should be pretty-print.c

Well .. one last try : 

$ 
$ date -u
Mon Nov 12 22:56:32 GMT 2012
$ 
$ CC='gcc -m64 -g -D_XOPEN_SOURCE=600' CXX='g++ -m64 -g -D_XOPEN_SOURCE=600' \
> ../gcc-4.7.2/configure --prefix=/usr/local/gcc4 --build=sparc64-sun-solaris2.10 --without-gnu-as \
> --without-gnu-ld --with-gmp=/usr/local --with-mpfr=/usr/local --with-mpc=/usr/local --with-ld=/usr/ccs/bin/ld \
> --enable-nls --enable-threads=posix --enable-shared --libdir=/usr/local/gcc4/lib --with-local-prefix=/usr/local/gcc4 \
> --with-cpu=v9 --enable-stage1-languages=c --disable-multilib --libexecdir=/usr/local/gcc4/lib \
> --with-pkgversion=Blastwave.org\ Inc.\ Mon\ Nov\ 12\ 22\:56\:32\ GMT\ 2012 \
> --with-bugurl=http\:\/\/www.blastwave.org\/support --enable-languages=c,c++,objc,fortran,ada --enable-bootstrap
checking build system type... sparc64-sun-solaris2.10
checking host system type... sparc64-sun-solaris2.10
checking target system type... sparc64-sun-solaris2.10
checking for a BSD-compatible install... ../gcc-4.7.2/install-sh -c
checking whether ln works... yes
checking whether ln -s works... yes
checking for a sed that does not truncate output... /usr/local/bin/gsed
checking for gawk... gawk
checking for libitm support... yes
checking for gcc... gcc -m64 -g -D_XOPEN_SOURCE=600
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc -m64 -g -D_XOPEN_SOURCE=600 accepts -g... yes
checking for gcc -m64 -g -D_XOPEN_SOURCE=600 option to accept ISO C89... unsupported
checking whether we are using the GNU C++ compiler... yes
checking whether g++ -m64 -g -D_XOPEN_SOURCE=600 accepts -g... yes
checking for gnatbind... gnatbind
checking for gnatmake... gnatmake
checking whether compiler driver understands Ada... yes
checking how to compare bootstrapped objects... cmp $$f1 $$f2 16 16
checking for objdir... .libs
checking for the correct version of gmp.h... yes
checking for the correct version of mpfr.h... yes
checking for the correct version of mpc.h... yes
checking for the correct version of the gmp/mpfr/mpc libraries... yes
checking for PWL_handle_timeout in -lpwl... no
checking for version 0.11 (revision 0 or later) of PPL... no
The following languages will be built: c,ada,c++,fortran,lto,objc
*** This configuration is not supported in the following subdirectories:
     target-libmudflap target-libgo target-libffi target-zlib target-libjava target-boehm-gc
    (Any other directories should still work fine.)
checking for default BUILD_CONFIG... bootstrap-debug
checking for bison... bison -y
checking for bison... bison
checking for gm4... /usr/local/bin/gm4
checking for flex... flex
checking for flex... flex
checking for makeinfo... makeinfo
checking for expect... expect
checking for runtest... runtest
checking for ar... (cached) /usr/ccs/bin/ar
checking for as... (cached) /usr/ccs/bin/as
checking for dlltool... no
checking for ld... (cached) /usr/ccs/bin/ld
checking for lipo... no
checking for nm... nm
checking for ranlib... ranlib
checking for strip... strip
checking for windres... no
checking for windmc... no
checking for objcopy... no
checking for objdump... no
checking for readelf... no
checking for cc... cc
checking for c++... c++
checking for gcc... gcc
checking for gcj... no
checking for gfortran... gfortran
checking for gccgo... no
checking for ar... no
checking for ar... ar
checking for as... no
checking for as... as
checking for dlltool... no
checking for dlltool... no
checking for ld... no
checking for ld... ld
checking for lipo... no
checking for lipo... no
checking for nm... no
checking for nm... nm
checking for objdump... no
checking for objdump... no
checking for ranlib... no
checking for ranlib... ranlib
checking for readelf... no
checking for readelf... no
checking for strip... no
checking for strip... strip
checking for windres... no
checking for windres... no
checking for windmc... no
checking for windmc... no
checking where to find the target ar... host tool
checking where to find the target as... host tool
checking where to find the target cc... just compiled
checking where to find the target c++... just compiled
checking where to find the target c++ for libstdc++... just compiled
checking where to find the target dlltool... host tool
checking where to find the target gcc... just compiled
checking where to find the target gcj... host tool
checking where to find the target gfortran... just compiled
checking where to find the target gccgo... host tool
checking where to find the target ld... host tool
checking where to find the target lipo... host tool
checking where to find the target nm... host tool
checking where to find the target objdump... host tool
checking where to find the target ranlib... host tool
checking where to find the target readelf... host tool
checking where to find the target strip... host tool
checking where to find the target windres... host tool
checking where to find the target windmc... host tool
checking whether to enable maintainer-specific portions of Makefiles... no
checking whether -fkeep-inline-functions is supported... yes
configure: creating ./config.status
config.status: creating Makefile
$ 

$ date -u 
Mon Nov 12 23:01:08 GMT 2012
$ 
$ banner last\ try

 #         ##     ####    #####           #####  #####    #   #
 #        #  #   #          #               #    #    #    # #
 #       #    #   ####      #               #    #    #     #
 #       ######       #     #               #    #####      #
 #       #    #  #    #     #               #    #   #      #
 ######  #    #   ####      #               #    #    #     #

I'll try to speed this up with gmake -j 8 : 

$ /usr/bin/time -p gmake -j 8 

... wish me luck

Dennis 

ps: I do wish to say thank you to members of the mail list. Otherwise I would have given up 
and simply said .. Solaris 10 can't bootstrap GCC.  Not bloody likely. :-)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]