Ticket #3298: buildtools_gcc2_misc.patch

File buildtools_gcc2_misc.patch, 2.0 KB (added by VinDuv, 14 years ago)

buildtools patch — gcc2 configuration/build fixes

  • legacy/gcc/Makefile.in

     
    141141    then echo $$r/m4/m4 ; \
    142142    else echo ${DEFAULT_M4} ; fi`
    143143
    144 MAKEINFO = `if [ -f $$r/texinfo/makeinfo/Makefile ] ; \
    145     then echo $$r/texinfo/makeinfo/makeinfo ; \
    146     else echo makeinfo ; fi`
     144MAKEINFO = `if [ -x /usr/bin/makeinfo ] ; \
     145    then echo makeinfo ; \
     146    else echo $$r/texinfo/makeinfo/makeinfo ; fi`
    147147
    148148# This just becomes part of the MAKEINFO definition passed down to
    149149# sub-makes.  It lets flags be given on the command line while still
  • legacy/gcc/gcc/configure

     
    35973597        tm_file=i386/freebsd.h
    35983598        tmake_file=t-freebsd
    35993599        ;;
     3600    i[34567]86-*-darwin*)
     3601        tm_file=i386/freebsd.h
     3602        tmake_file=t-freebsd
     3603        ;;
    36003604    i[34567]86-*-netbsd*)
    36013605        tm_file=i386/netbsd.h
    36023606        tmake_file=t-netbsd
  • legacy/gcc/gcc/configure.in

     
    12061206        tmake_file=t-freebsd
    12071207        ;;
    12081208changequote(,)dnl
     1209    i[34567]86-*-darwin*)
     1210changequote([,])dnl
     1211        tm_file=i386/freebsd.h
     1212        tmake_file=t-freebsd
     1213        ;;
     1214changequote(,)dnl
    12091215    i[34567]86-*-netbsd*)
    12101216changequote([,])dnl
    12111217        tm_file=i386/netbsd.h
  • legacy/gcc/gcc/config/i386/i386.c

     
    139139#define AT_BP(mode) (gen_rtx_MEM ((mode), frame_pointer_rtx))
    140140
    141141extern FILE *asm_out_file;
     142#ifndef __APPLE__
    142143extern char *strcat ();
     144#endif
    143145
    144146static void ix86_epilogue PROTO((int));
    145147static void ix86_prologue PROTO((int));