Subject: Re: CVS commit: sharesrc/share/mk
To: Thomas Klausner <wiz@danbala.ifoer.tuwien.ac.at>
From: Matt Fredette <fredette@theory.lcs.mit.edu>
List: source-changes
Date: 06/10/2002 10:39:45
> On Mon, Jun 10, 2002 at 05:14:48PM +0300, Matthew Fredette wrote:
> > 	sharesrc/share/mk: bsd.own.mk
> > 
> > Log Message:
> > Add cases for hppa.
> 
> Why hppa--netbsdelf?
> I thought the only reason for adding elf was that we had a non-ELF
> version before.
>  Thomas

I went with hppa--netbsdelf after seeing this in gcc's configure.in:

        # Common parts for some multiplatform systems
        case $machine in
        *-*-netbsd*)
                case $machine in
                *-*-netbsdelf*) tm_file=${cpu_type}/netbsd-elf.h;;
                *)              tm_file=${cpu_type}/netbsd.h;;
                esac
                tmake_file="t-libc-ok t-netbsd" 
                xm_file="${xm_file} xm-netbsd.h"
                xmake_file=none
                ;;

So it seemed like a not-bad idea to have elf explicitly in the target 
name to allow for this sort of thing.  If I missed something important 
by all means we can change this.

Matt

-- 
Matt Fredette