This is the mail archive of the gcc-patches@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: [gcc-in-cxx] Get past stage1 on darwin


Paolo Bonzini <bonzini@gnu.org> writes:

>> Ok, I found the problem: I had configured with
>> --enable-languages=fortran.  If I drop this, the necessary build rules
>> are there, previously they weren't.  I'll try a full bootstrap with all
>> languages now.
>
> This patch should fix it.

Unless I'm missing something, that patch is already on gcc-in-cxx
branch.

Ian

> Index: ../configure.ac
> ===================================================================
> --- ../configure.ac	(revisione 138313)
> +++ ../configure.ac	(copia locale)
> @@ -1311,7 +1311,7 @@ AC_SUBST(gmplibs)
>  AC_SUBST(gmpinc)
>  
>  # By default, C is the only stage 1 language.
> -stage1_languages=,c,
> +stage1_languages=,c,c++,
>  
>  # Figure out what language subdirectories are present.
>  # Look if the user specified --enable-languages="..."; if not, use
> @@ -1373,9 +1373,9 @@ if test -d ${srcdir}/gcc; then
>      esac
>    done
>  
> -  new_enable_languages=,c,
> -  missing_languages=`echo ",$enable_languages," | sed -e s/,all,/,/ -e s/,c,/,/ `
> -  potential_languages=,c,
> +  new_enable_languages=,c,c++,
> +  missing_languages=`echo ",$enable_languages," | sed -e s/,all,/,/ -e s/,c,/,/ -e s/,c++,/,/ `
> +  potential_languages=,c,c++,
>  
>    for lang_frag in ${srcdir}/gcc/*/config-lang.in .. ; do
>      case ${lang_frag} in


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