Subject: Re: bin/3539: Archive timestamps don't work on NetBSD/pmax
To: None <mellon@fugue.com>
From: Chris G. Demetriou <cgd@cs.cmu.edu>
List: netbsd-bugs
Date: 04/25/1997 17:40:15
> Index: config.h
> ===================================================================
> RCS file: /cvsroot/src/usr.bin/make/config.h,v
> retrieving revision 1.7
> diff -c -2 -r1.7 config.h
> *** config.h	1996/11/06 17:59:03	1.7
> --- config.h	1997/04/25 21:19:21
> ***************
> *** 112,116 ****
>   #define SUNSHCMD
>   
> ! #if !defined(__svr4__) && !defined(__SVR4)
>   # ifndef RANLIBMAG
>   #  define RANLIBMAG "__.SYMDEF"
> --- 112,116 ----
>   #define SUNSHCMD
>   
> ! #if !defined(__svr4__) && !defined(__SVR4) && !defined (__mips)
>   # ifndef RANLIBMAG
>   #  define RANLIBMAG "__.SYMDEF"

(1) that should be __mips__, because __mips shouldn't be defined by
properly configured NetBSD compilers (in-tree or out).

(2) if it applies to the mips, it probably applies to the alpha as
well.  (Indeed, this looks like it would apply to the alpha.)

(3) it might be better to key on __ELF__, so that when building with
and ELF toolchain (regardless of platform) the right thing happens.
of course, that has its own set of problems.



cgd