Subject: Re: MACHINE_ARCH vs. OBJ_ARCH
To: Todd Vierling <tv@pobox.com>
From: Jason Thorpe <thorpej@nas.nasa.gov>
List: tech-toolchain
Date: 07/26/1998 13:23:21
On Sun, 26 Jul 1998 13:55:02 -0400 (EDT) 
 Todd Vierling <tv@pobox.com> wrote:

 > OBJ_ARCH will be available through "sysctl -n hw.obj_arch" very similarly to
 > "sysctl -n hw.machine_arch".  It would probably be useful to make a uname
 > option for it as well, i.e. "uname -o", just for user simplicity.

That's completely nuts!

Say I have a NetBSD/i386 system.  I CAN BUILD i386 ELF BINARIES AND RUN THEM,
TODAY!  So, what does my OBJ_ARCH say on a system today?  Note our "native"
format is a.out!

OBJ_ARCH is the wrong thing.

Jason R. Thorpe                                       thorpej@nas.nasa.gov
NASA Ames Research Center                            Home: +1 408 866 1912
NAS: M/S 258-5                                       Work: +1 650 604 0935
Moffett Field, CA 94035                             Pager: +1 650 940 5942