This is the mail archive of the gcc-bugs@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]

[971023] A fix for all poor guys using filesystems limited to 14 characters


As the subject: says, this fix is needed on systems where the filename
length is limited to  14 characters (don't want  to think at the  poor
M$DOS users :-).

BTW: Jeff,  what's  about the `egcs-970929:  GNU  assembler too picky'
patch I sent on Mon, 6 Oct 97 16:20:39 (it's  really necessary on this
bloody 14 char system m68k-motorola-sysv)?

Wed Oct 22 12:59:17 1997  Manfred Hollstein  <manfred@s-direktnet.de>

	* aclocal.m4 (conftestdata_from, conftestdata_to): Names shortened to
	14 char length.
	* configure: Rebuild.

diff --context --recursive --show-c-function -x *.o -x *.info* -x *.html* -x *.elc -x *.dvi -x *.orig -x *~ -x version.el egcs-971023.orig/gcc/aclocal.m4 egcs-971023/gcc/aclocal.m4
*** egcs-971023.orig/gcc/aclocal.m4	Wed Oct  8 00:26:54 1997
--- egcs-971023/gcc/aclocal.m4	Tue Oct 28 12:14:12 1997
*************** dnl See if symbolic links work and if no
*** 30,49 ****
  AC_DEFUN(GCC_PROG_LN_S,
  [AC_MSG_CHECKING(whether ln -s works)
  AC_CACHE_VAL(gcc_cv_prog_LN_S,
! [rm -f conftestdata_to
! echo >conftestdata_from
! if ln -s conftestdata_from conftestdata_to 2>/dev/null
  then
    gcc_cv_prog_LN_S="ln -s"
  else
!   if ln conftestdata_from conftestdata_to 2>/dev/null
    then
      gcc_cv_prog_LN_S=ln
    else
      gcc_cv_prog_LN_S=cp
    fi
  fi
! rm -f conftestdata_from conftestdata_to
  ])dnl
  LN_S="$gcc_cv_prog_LN_S"
  if test "$gcc_cv_prog_LN_S" = "ln -s"; then
--- 30,49 ----
  AC_DEFUN(GCC_PROG_LN_S,
  [AC_MSG_CHECKING(whether ln -s works)
  AC_CACHE_VAL(gcc_cv_prog_LN_S,
! [rm -f conftestdata_t
! echo >conftestdata_f
! if ln -s conftestdata_f conftestdata_t 2>/dev/null
  then
    gcc_cv_prog_LN_S="ln -s"
  else
!   if ln conftestdata_f conftestdata_t 2>/dev/null
    then
      gcc_cv_prog_LN_S=ln
    else
      gcc_cv_prog_LN_S=cp
    fi
  fi
! rm -f conftestdata_f conftestdata_t
  ])dnl
  LN_S="$gcc_cv_prog_LN_S"
  if test "$gcc_cv_prog_LN_S" = "ln -s"; then
*************** dnl See if hard links work and if not, t
*** 62,81 ****
  AC_DEFUN(GCC_PROG_LN,
  [AC_MSG_CHECKING(whether ln works)
  AC_CACHE_VAL(gcc_cv_prog_LN,
! [rm -f conftestdata_to
! echo >conftestdata_from
! if ln conftestdata_from conftestdata_to 2>/dev/null
  then
    gcc_cv_prog_LN="ln"
  else
!   if ln -s conftestdata_from conftestdata_to 2>/dev/null
    then
      gcc_cv_prog_LN="ln -s"
    else
      gcc_cv_prog_LN=cp
    fi
  fi
! rm -f conftestdata_from conftestdata_to
  ])dnl
  LN="$gcc_cv_prog_LN"
  if test "$gcc_cv_prog_LN" = "ln"; then
--- 62,81 ----
  AC_DEFUN(GCC_PROG_LN,
  [AC_MSG_CHECKING(whether ln works)
  AC_CACHE_VAL(gcc_cv_prog_LN,
! [rm -f conftestdata_t
! echo >conftestdata_f
! if ln conftestdata_f conftestdata_t 2>/dev/null
  then
    gcc_cv_prog_LN="ln"
  else
!   if ln -s conftestdata_f conftestdata_t 2>/dev/null
    then
      gcc_cv_prog_LN="ln -s"
    else
      gcc_cv_prog_LN=cp
    fi
  fi
! rm -f conftestdata_f conftestdata_t
  ])dnl
  LN="$gcc_cv_prog_LN"
  if test "$gcc_cv_prog_LN" = "ln"; then
diff --context --recursive --show-c-function -x *.o -x *.info* -x *.html* -x *.elc -x *.dvi -x *.orig -x *~ -x version.el egcs-971023.orig/gcc/configure egcs-971023/gcc/configure
*** egcs-971023.orig/gcc/configure	Thu Oct 23 18:35:20 1997
--- egcs-971023/gcc/configure	Tue Oct 28 12:14:12 1997
*************** echo "configure:887: checking whether ln
*** 887,906 ****
  if eval "test \"`echo '$''{'gcc_cv_prog_LN'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
!   rm -f conftestdata_to
! echo >conftestdata_from
! if ln conftestdata_from conftestdata_to 2>/dev/null
  then
    gcc_cv_prog_LN="ln"
  else
!   if ln -s conftestdata_from conftestdata_to 2>/dev/null
    then
      gcc_cv_prog_LN="ln -s"
    else
      gcc_cv_prog_LN=cp
    fi
  fi
! rm -f conftestdata_from conftestdata_to
  
  fi
  LN="$gcc_cv_prog_LN"
--- 887,906 ----
  if eval "test \"`echo '$''{'gcc_cv_prog_LN'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
!   rm -f conftestdata_t
! echo >conftestdata_f
! if ln conftestdata_f conftestdata_t 2>/dev/null
  then
    gcc_cv_prog_LN="ln"
  else
!   if ln -s conftestdata_f conftestdata_t 2>/dev/null
    then
      gcc_cv_prog_LN="ln -s"
    else
      gcc_cv_prog_LN=cp
    fi
  fi
! rm -f conftestdata_f conftestdata_t
  
  fi
  LN="$gcc_cv_prog_LN"
*************** echo "configure:919: checking whether ln
*** 919,938 ****
  if eval "test \"`echo '$''{'gcc_cv_prog_LN_S'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
!   rm -f conftestdata_to
! echo >conftestdata_from
! if ln -s conftestdata_from conftestdata_to 2>/dev/null
  then
    gcc_cv_prog_LN_S="ln -s"
  else
!   if ln conftestdata_from conftestdata_to 2>/dev/null
    then
      gcc_cv_prog_LN_S=ln
    else
      gcc_cv_prog_LN_S=cp
    fi
  fi
! rm -f conftestdata_from conftestdata_to
  
  fi
  LN_S="$gcc_cv_prog_LN_S"
--- 919,938 ----
  if eval "test \"`echo '$''{'gcc_cv_prog_LN_S'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
!   rm -f conftestdata_t
! echo >conftestdata_f
! if ln -s conftestdata_f conftestdata_t 2>/dev/null
  then
    gcc_cv_prog_LN_S="ln -s"
  else
!   if ln conftestdata_f conftestdata_t 2>/dev/null
    then
      gcc_cv_prog_LN_S=ln
    else
      gcc_cv_prog_LN_S=cp
    fi
  fi
! rm -f conftestdata_f conftestdata_t
  
  fi
  LN_S="$gcc_cv_prog_LN_S"

-- 
 Manfred Hollstein       If you have any questions about GNU software:
 Hindenburgstr. 13/1                   <mailto:manfred@s-direktnet.de>
 75446 Wiernsheim, FRG  <http://www.s-direktnet.de/HomePages/manfred/>
 PGP key:    <http://www.s-direktnet.de/HomePages/manfred/manfred.asc>


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