rfg@MCC.COM (Ron Guilmette) (03/22/89)
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
grunwald@flute.cs.uiuc.edu (03/22/89)
Has anyone built a GNUmakefile for gcc and/or g++? We share the same sources between a Sun and an Encore, and it's a pain to update the ``local'' part of the Makefile each time we install a new version. In a similar sitation, I've been using gnumake with ``include'' files; while there are many problems, this keeps the ``host specific'' changes to oen file, a great advantage. -- Dirk Grunwald Univ. of Illinois grunwald@flute.cs.uiuc.edu