Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84 SMI; site sun.uucp Path: utzoo!watmath!clyde!burl!ulysses!allegra!mit-eddie!genrad!decvax!decwrl!sun!guy From: guy@sun.uucp (Guy Harris) Newsgroups: net.micro.att,net.unix-wizards,net.micro.68k Subject: How do you spell "Motorola 68000"? Message-ID: <2234@sun.uucp> Date: Mon, 27-May-85 21:38:49 EDT Article-I.D.: sun.2234 Posted: Mon May 27 21:38:49 1985 Date-Received: Thu, 30-May-85 00:25:02 EDT References: <314@npois.UUCP> Organization: Sun Microsystems, Inc. Lines: 28 Xref: watmath net.micro.att:91 net.unix-wizards:13333 net.micro.68k:810 > # This is the makefile for my UNIX PC quickie environment > CFLAGS = -Dm68k -Dm68 -Dmc68k -Uvax -UMICROOMS -Updp11 -Uu3b ... Sun's compiler predefines "mc68000" (which isn't strictly true, as we use MC68010s, not MC68000s). CCI's compiler predefines "m68000" (which is more correct, since "m68000" is sort of the name for the architecture). What does the System V micro-port compiler define? What, if anything, does the AT&T 68000 compiler define? What does the PC 7300 compiler define? What does any other 68000-based UNIX out there define? Can we please get together and decide on *one* #define constant which says you have a Motorola 68000 architecture, and maybe several #define constants for the various chips in that family? (And, while we're at it, decide on some #define constants for the other chips out there? For example, there's "u3b", and "u3b5", and "u3b2" (I think), but I don't know if there's a generic "3B UNIX" define, or even a generic "WE32000 family" define.) If the micro-ports have standard #define constants, I'd vote for those being the official standard. And, while we're at it, could we also use that constant's name for the name of the command which says "you're on a Motorola 68000-based machine" as well? Also, what is the "machine" field in the "utsname" structure supposed to contain - the name of the architecture or of the implementation (i.e., "vax" or "vax-780"/"vax-750"/...), and what are the correct values for various machines? Guy Harris