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

egcs-1.0.1 patch to config.guess for alpha-dec-osf1.3


I ran into two problems compiling egcs-1.0.1 for my alpha-dec-osf1.3 cpu.

The first was a problem with autodetection of the osf version, and was
fixed rather easily.  "tr" was choking on the arguments given to it inside
"config.guess".

Here is an entry to Changelog for my patch (I don't care if you put it in;
the web page just makes a big deal about including a changelog entry!):

Tue Feb  3 22:42:05 1998  Scott M. Blackman  (scott.blackman@vanderbilt.edu)

	* Teeny patch to config.guess for alpha-dec-osf1.3

Here is the patch to config.guess:

*** egcs-1.0.1/config.guess.orig	Wed Nov 26 17:07:52 1997
--- egcs-1.0.1/config.guess	Tue Feb  3 22:42:05 1998
*************** EOF
*** 98,104 ****
  		esac
  	fi
  	rm -f dummy.s dummy
! 	echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[VTX]//' | tr [[A-Z]] [[a-z]]`
  	exit 0 ;;
      21064:Windows_NT:50:3)
  	echo alpha-dec-winnt3.5
--- 98,104 ----
  		esac
  	fi
  	rm -f dummy.s dummy
! 	echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[VTX]//' | tr A-Z a-z`
  	exit 0 ;;
      21064:Windows_NT:50:3)
  	echo alpha-dec-winnt3.5



The second problem is that DEC as doesn't support the code produced by ./xgcc
during the compiling of enquire.c .  Specifically the .arch opcode doesn't
seem to be supported:

./xgcc -B./  -DIN_GCC    -g -I./include     -DNO_MEM -DNO_LONG_DOUBLE_IO -O0 -I. -c ./enquire.c
as0: Error: /tmp/cc006886.s, line 5: undefined assembler operation: .arch
      .arch ev4

I have also mailed this to egcs-bugs@cygnus.com

Scott Blackman
scott.blackman@vanderbilt.edu


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