rs6k lynx changes
authorDavid Henkel-Wallace <gumby@cygnus>
Wed, 8 Jun 1994 05:05:21 +0000 (05:05 +0000)
committerDavid Henkel-Wallace <gumby@cygnus>
Wed, 8 Jun 1994 05:05:21 +0000 (05:05 +0000)
ChangeLog
binutils/ChangeLog
binutils/Makefile.in
binutils/configure.in
build-all.mk
configure.in

index 336bf2dfb0d6ed7ac556744887f904f6b2c3696c..531f6a77086fe55ebf0b24d098900c279d71a493 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -3,6 +3,12 @@ Tue Jun  7 12:06:24 1994  Ian Lance Taylor  (ian@cygnus.com)
        * configure: If there is a package_makefile_frag, remove
        ${subdir}/Makefile.tem after copying it in.
 
+Mon Jun  6 21:35:02 1994  D. V. Henkel-Wallace  (gumby@cygnus.com)
+
+       * build_all.mk: support rs6000 lynx identifies itself as
+       rs6000-lynx-lynxos2.2.2.  Also, use /usr/cygnus/progressive/bin/gcc
+       since /bin/gcc is too feeble to compile a modern gcc.
+
 Mon Jun  6 16:06:34 1994  Karen Christiansen (karen@cirdan.cygnus.com)
 
        * brought devo/test-build.mk update-to-date with progressive/
index 8e101506682580aa63a49133a97d9c9691d6678d..f0b841bc2d0a4959d1aa13a31e21dc75b67086db 100644 (file)
@@ -1,3 +1,12 @@
+Mon Jun  6 21:36:43 1994  D. V. Henkel-Wallace  (gumby@cygnus.com)
+
+       * configure.in: if this is an rs6000 (and we're not building for
+       any other bfd targets) then build only nm (collect needs it on
+       rs6000-lynx).
+
+       * Makefile.in: define TOOL_PROGS which the list of programes to
+       install in $tooldir -- replaces a hard-coded list.
+
 Fri Jun  3 10:59:18 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
 
        * objdump.c (display_target_list): Remove unused local ok.
index 56e844d3cffb1714b5e4d2398473895397997ae4..e7fdee300c9e78e3cfa9712ba16be32036d963cf 100644 (file)
@@ -111,6 +111,9 @@ STAGESTUFF = $(PROGS) *.o
 # Files that can be generated, but should be in the distribution.
 DISTSTUFF=arparse.c arlex.c nlmheader.c sysinfo.c syslex.c info
 
+# Stuff that goes in tooldir/ if appropriate
+TOOL_PROGS = nm.new strip.new ar ranlib
+
 BASEDIR = $(srcdir)/..
 BFDDIR = $(BASEDIR)/bfd
 INCDIR = $(BASEDIR)/include
@@ -495,7 +498,7 @@ install: all $(DEMANGLER_PROG).1
        done
        -if [ -d $(tooldir) ]; then \
          if [ -d $(tooldir)/bin ]; then true; else mkdir $(tooldir)/bin; fi; \
-         for i in nm.new strip.new ar ranlib; do \
+         for i in $(TOOL_PROGS) ; do \
            j=`echo $$i | sed -e 's/.new//'`; \
            rm -f $(tooldir)/bin/$$j; \
            k=`t='$(program_transform_name)'; echo $$j | sed -e s/x/x/ $$t`; \
index 00806f86972e224dec072e59caa67406926ac0ec..649e5d5236de3957c00fee492eb764e5a19249b9 100644 (file)
@@ -10,9 +10,72 @@ configdirs="testsuite"
 
 # per-host:
 
+. ${srcdir}/../bfd/configure.host
+
 host_makefile_frag=
 if [ -f ${srcdir}/../bfd/config/${my_host}.mh ] ; then
        host_makefile_frag=../bfd/config/${my_host}.mh
 fi
 
 # per-target:
+
+# Canonicalize the secondary target names.
+if [ -n "$with_targets" ]; then
+    for targ in `echo $with_targets | sed 's/,/ /g'`
+    do
+       result=`$configsub $targ 2>/dev/null`
+       if [ -n "$result" ]; then
+           canon_targets="$canon_targets $result"
+       else
+           # Allow targets that config.sub doesn't recognize, like "all".
+           canon_targets="$canon_targets $targ"
+       fi
+    done
+else
+# If our target is rs6000 _and nothing else_ then we build only nm!
+    case $target in
+       rs6000-*-lynx*) target_makefile_frag=config/rslynx ;;
+    esac
+fi
+
+all_targets=false
+build_nlmconv=false
+build_srconv=false
+
+for targ in $target $canon_targets
+do
+    bfd_target=`$srcdir/../bfd/config.bfd $targ`
+
+    if [ "x$bfd_target" = "xall" ]; then
+        all_targets=true
+       build_nlmconv=true
+       build_srconv=true
+    else
+       case $targ in
+       *-*-netware*) build_nlmconv=true ;;
+       esac
+
+       case $targ in
+       *-*-hms*) build_srconv=true ;;
+       esac
+    fi
+done
+
+# We don't do any links based on the target system, just makefile config.
+
+# post-target:
+
+rm -f Makefile.tmp Makefile.2
+mv Makefile Makefile.tmp
+
+if [ "x${build_nlmconv}" = "xtrue" ]; then
+    echo 'BUILD_NLMCONV = $(NLMCONV_PROG)' >> Makefile.2
+fi
+
+if [ "x${build_srconv}" = "xtrue" ]; then
+    echo 'BUILD_SRCONV = $(SRCONV_PROG)' >> Makefile.2
+fi
+
+cat Makefile.tmp >> Makefile.2
+rm -f Makefile.tmp
+mv Makefile.2 Makefile
index 5586cb1d07925d1b9cff480721d0f38157041c9f..2aac81a3a84d794a8319294605ea1220a3541f9b 100644 (file)
@@ -235,7 +235,7 @@ endif
 
 ifeq ($(canonhost),rs6000-lynx)
 TARGETS = $(NATIVE)
-CC = /bin/gcc
+CC = /usr/cygnus/progressive/bin/gcc
 all: all-cygnus
 SHELL=/bin/bash
 endif
index 76b8944b1c31afc229d798a90ed9de81c3128064..1ef77d09dfc9f1a9a0857119b8d1768044baf94c 100644 (file)
@@ -251,7 +251,7 @@ case "${target}" in
     # a gcc built textutils will cause the linker to hang on 'join'
     # The CVS server code doesn't work on the RS/6000
     # Newlib makes problems for libg++ in crosses.
-    noconfigdirs="$noconfigdirs gas ld newlib binutils gprof textutils cvs diff make tcl expect texinfo"
+    noconfigdirs="$noconfigdirs gas ld newlib gprof textutils cvs"
     use_gnu_ld=no
     use_gnu_as=no
     ;;
This page took 0.037537 seconds and 4 git commands to generate.