From: Ian Lance Taylor Date: Tue, 25 May 1993 19:48:13 +0000 (+0000) Subject: * build-all.mk (all-cross): New target for Canadian Cross. X-Git-Tag: gdb-4_18~19105 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=60986901af1fb1a79b9ecf0598bfea200baf9773;p=platform%2Fupstream%2Fbinutils.git * build-all.mk (all-cross): New target for Canadian Cross. Added Q2 go32 targets. * test-build.mk: Configure go32 cross sparclite-aout and mips-idt-ecoff -with-gnu-ld. Moved build binary directory from PARTIAL_HOLE_DIRS to BUILD_HOLES_DIRS. --- diff --git a/ChangeLog b/ChangeLog index cc279a5..13af2f5 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,16 @@ +Tue May 25 12:44:18 1993 Ian Lance Taylor (ian@cygnus.com) + + * build-all.mk (all-cross): New target for Canadian Cross. + Added Q2 go32 targets. + * test-build.mk: Configure go32 cross sparclite-aout and + mips-idt-ecoff -with-gnu-ld. Moved build binary directory from + PARTIAL_HOLE_DIRS to BUILD_HOLES_DIRS. + +Mon May 24 15:30:06 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com) + + * configure.in: fix Alpha GDB typo; also, don't build DejaGnu for + GO32 hosted toolchains + Mon May 24 14:18:41 1993 Rob Savoye (rob at darkstar.cygnus.com) * configure: change so "-exec-prefix" gets passed down rather diff --git a/build-all.mk b/build-all.mk index c710397..1684c7e 100644 --- a/build-all.mk +++ b/build-all.mk @@ -39,6 +39,9 @@ endif ifeq ($(canonhost),i486-unknown-sco3.2v4.0) canonhost := i386-sco3.2v4 endif +ifeq ($(canonhost),i386-unknown-go32) +canonhost := i386-go32 +endif ifeq ($(canonhost),sparc-sun-sunos4.1.1) TARGETS = $(NATIVE) i386-go32 m68k-aout m68k-vxworks \ @@ -105,6 +108,17 @@ TARGETS = $(NATIVE) i386-aout all: all-cygnus endif +ifeq ($(canonhost),i386-go32) +TARGETS = m68k-aout a29k-amd-udi m68k-coff i386-aout sparclite-aout \ + h8300-sim mips-idt-ecoff +ifndef build +build := $(shell $(TREE)/config.guess) +endif +CC = i386-go32-gcc +GCC = i386-go32-gcc -O +all: all-cross +endif + FLAGS_TO_PASS := \ "GCC=$(GCC)" \ "CC=$(CC)" \ @@ -176,6 +190,16 @@ all-native: echo " completed successfully" ; \ done +all-cross: + [ -d $(INSTALLDIR) ] || mkdir $(INSTALLDIR) + rm -f /usr/cygnus/$(TAG) + ln -s $(INSTALLDIR) /usr/cygnus/$(TAG) + @for i in $(TARGETS) ; do \ + echo "building $(canonhost) cross to $$i" ; \ + $(MAKE) -f test-build.mk $(FLAGS_TO_PASS) target=$$i build=$(build) do-cygnus $(tlog) && \ + echo " completed successfully" ; \ + done + config: @for i in $(TARGETS) ; do \ if [ "$$i" = "native" ] ; then \