gcc 3.4 compile on Sol 8
llewelly@xmission.com
llewelly@xmission.com
Wed May 12 04:18:00 GMT 2004
Richard Gillman <R.Gillman@nerc.ac.uk> writes:
> I am trying to compile gcc 3.4 on Solaris 8, using gcc 3.2.2 to
> build. The "gmake bootstrap" stage terminates
>
> checking whether the C compiler
> (/local/users/itss/susa/gcc-3.4.0-obj/gcc/xgcc
> -B/local/users/itss/susa/gcc-3.4.0-obj/gcc/
> -B/nerc/packages/gcc/3.4/sparc-sun-solaris2.8/bin/
> -B/nerc/packages/gcc/3.4/sparc-sun-solaris2.8/lib/ -isystem
> /nerc/packages/gcc/3.4/sparc-sun-solaris2.8/include -isystem
> /nerc/packages/gcc/3.4/sparc-sun-solaris2.8/sys-include -O2 -g -O2 )
> is a cross-compiler... no
> checking whether we are using GNU C... (cached) yes
> checking whether /local/users/itss/susa/gcc-3.4.0-obj/gcc/xgcc
> -B/local/users/itss/susa/gcc-3.4.0-obj/gcc/
> -B/nerc/packages/gcc/3.4/sparc-sun-solaris2.8/bin/
> -B/nerc/packages/gcc/3.4/sparc-sun-solaris2.8/lib/ -isystem
> /nerc/packages/gcc/3.4/sparc-sun-solaris2.8/include -isystem
> /nerc/packages/gcc/3.4/sparc-sun-solaris2.8/sys-include accepts
> -g... (cached) yes
> /local/users/itss/susa/gcc-3.4.0/libffi/configure: test: argument expected
> gmake[1]: *** [configure-target-libffi] Error 1
> gmake[1]: Leaving directory `/local/users/itss/susa/gcc-3.4.0-obj'
> gmake: *** [bootstrap] Error 2
> $
>
> This example is sh and gmake; I get the same problem using Solaris
> make and csh.
You need to use ksh (or bash) on solaris for gcc 3.4 . I don't know
why this is not in host-specific notes. A bug against the
host-specific notes should be reproted.
More information about the Gcc-help
mailing list