Path: utzoo!telly!attcan!uunet!tut.cis.ohio-state.edu!MCC.COM!rfg From: rfg@MCC.COM (Ron Guilmette) Newsgroups: gnu.gcc.bug Subject: BUG in GCC 1.34 config.gcc Message-ID: <8903211950.AA26755@riunite.aca.mcc.com> Date: 21 Mar 89 19:50:19 GMT Sender: daemon@tut.cis.ohio-state.edu Distribution: gnu Organization: GNUs Not Usenet Lines: 42 It seems that the config.gcc script (from gcc 1.34) will mess up under certain conditions, and try to make incorrect links. I noticed this when I did a: config.gcc m88k It seemed that certain variables in the script were not getting set properly (or at all). The following minor patch seems to fix the problem. It looks like certain occurances of "=" should have been ":=". *** config.gcc Wed Feb 22 11:33:44 1989 --- config.gcc Tue Mar 21 13:44:42 1989 *************** *** 195,203 **** # if cpu_type is not set, define cpu_type to machine. # ! cpu_type=${cpu_type=$machine} ! configuration_file=${configuration_file=xm-$cpu_type.h} ! target_machine=${target_machine=tm-$machine.h} machine_description=${cpu_type}.md ! aux_output=${aux_output=output-$cpu_type.c} if [ xx${vint} = xx ] --- 195,203 ---- # if cpu_type is not set, define cpu_type to machine. # ! cpu_type=${cpu_type:=$machine} ! configuration_file=${configuration_file:=xm-$cpu_type.h} ! target_machine=${target_machine:=tm-$machine.h} machine_description=${cpu_type}.md ! aux_output=${aux_output:=output-$cpu_type.c} if [ xx${vint} = xx ] // Ron Guilmette - MCC - Experimental (parallel) Systems Kit Project // 3500 West Balcones Center Drive, Austin, TX 78759 - (512)338-3740 // ARPA: rfg@mcc.com // UUCP: {rutgers,uunet,gatech,ames,pyramid}!cs.utexas.edu!pp!rfg