This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: gcc 3.4 compile on Sol 8
- From: llewelly at xmission dot com
- To: Richard Gillman <R dot Gillman at nerc dot ac dot uk>
- Cc: gcc-help at gcc dot gnu dot org
- Date: 11 May 2004 22:18:14 -0600
- Subject: Re: gcc 3.4 compile on Sol 8
- References: <40A084A5.6070201@nerc.ac.uk>
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.