SUMMARY: Compiling gcc-2.95.2 on Tru64 5.1

From: Schau, Brian <Brian.Schau_at_compaq.com>
Date: Mon, 11 Dec 2000 11:15:44 +0000

Hello,


Thanks to all who helped me with my little problem. The solution
was, as pointed out by many, to:



1. Edit ~/gcc-2.95.2/gcc/configure
   Look for the lines that read:

     *-*-osf4*)
       tm_file="${tm_file} alpha/osf.h"
       # Some versions of OSF4 (specifically X4.0-9 296.7) have
       # a broken tar, so we use cpio instead.
       install_headers_dir=install-headers-cpio
       ;;
   esac
   case $machine in
     *-*-osf4.0[b-z] | *-*-osf4.[1-9]*)
       target_cpu_default=MASK_SUPPORT_ARCH
       ;;
   esac


Change them to:


     *-*-osf[45]*)
       tm_file="${tm_file} alpha/osf.h"
       # Some versions of OSF4 (specifically X4.0-9 296.7) have
       # a broken tar, so we use cpio instead.
       install_headers_dir=install-headers-cpio
       ;;
   esac
   case $machine in
     *-*-osf4.0[b-z] | *-*-osf4.[1-9]*| *-*-osf5*)
       target_cpu_default=MASK_SUPPORT_ARCH
       ;;
   esac




2. Then create a shell script called "as" in /sbin that contains:

        #!/bin/sh
        /usr/bin/as -oldas $*

   Make sure this is in your PATH ahead of /usr/bin/as



Thanks!



Kind regards,
Brian
Received on Mon Dec 11 2000 - 11:18:53 NZDT

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:41 NZDT