🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.bug
Article #1813

fix to config.gcc

#1813
From: Andy Fyfe
Date: Tue, 18 Oct 1988 04:33
60 lines
1715 bytes
The script uses the variable "link" both as the name of the link program
and as the name of the link to be created.  Also, it gets the config.h
file wrong for the 3b1.  Diffs follow.

*** save/config.gcc	Mon Oct 17 21:15:42 1988
--- config.gcc	Mon Oct 17 21:18:11 1988
***************
*** 33,44 ****
  progname=$0
  
  remove=rm
! link=ln
  symbolic_link='ln -s'
  
  #for Test
  #remove="echo rm"
! #link="echo ln"
  #symbolic_link="echo ln -s"
  
  case $# in
--- 33,44 ----
  progname=$0
  
  remove=rm
! hard_link=ln
  symbolic_link='ln -s'
  
  #for Test
  #remove="echo rm"
! #hard_link="echo ln"
  #symbolic_link="echo ln -s"
  
  case $# in
***************
*** 124,129 ****
--- 124,130 ----
  		;;
  	3b1)
  		cpu_type=m68k
+ 		configuration_file=config-${machine}.h
  		;;
  	sequent-ns32k | sequent)
  		cpu_type=ns32k
***************
*** 182,188 ****
  		$remove -f $link
  		rm -f config.status
  		# Make a symlink if possible, otherwise try a hard link
! 		$symbolic_link $file $link 2>/dev/null || $link $file $link
  
  		if [ ! -r $link ]
  		then
--- 183,189 ----
  		$remove -f $link
  		rm -f config.status
  		# Make a symlink if possible, otherwise try a hard link
! 		$symbolic_link $file $link 2>/dev/null || $hard_link $file $link
  
  		if [ ! -r $link ]
  		then
Technical Details
Message-ID: <8810180433.AA05548@csvax.caltech.edu>
Path: arc1-ca.pugleaf.net!utzoo!telly!ddsw1!mcdchg!rutgers!tut.cis.ohio-state.edu!CSVAX.CALTECH.EDU!andy

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!telly!ddsw1!mcdchg!rutgers!tut.cis.ohio-state.edu!CSVAX.CALTECH.EDU!andy
From: andy@CSVAX.CALTECH.EDU (Andy Fyfe)
Newsgroups: gnu.gcc.bug
Subject: fix to config.gcc
Message-ID: <8810180433.AA05548@csvax.caltech.edu>
Date: 18 Oct 88 04:33:00 GMT
Sender: daemon@tut.cis.ohio-state.edu
Distribution: gnu
Organization: GNUs Not Usenet
Lines: 60