Standardized predefined CPP symbols, down with folklore

John Rogers jr at foros1.UUCP
Wed Jul 25 15:27:42 AEST 1984


Hi.  I've been trying to keep a list of the various predefined symbols;
it's based on one by Steve Bourne in "The UNIX System" (page 99),
Martin Minow's recent posting, and my own research.  I don't have any
data on anything earlier than V7.  If anyone has any additions or
corrections, please let me know, and I'll repost a new version of this
in a week or two.

	__DATE__	(Decus C - date of complation)
	__FILE__	(file name of source file - most preprocessors)
	__LINE__	(line number within current source file - ditto)
	cpm		(CP/M - see the "p" preprocessor in Jul-84 Dr. Dobb's)
	decus		(Decus C for PDP-11 - RSX and RT-11)
	gcos		(Honeywell 6000 GCOS operating system?)
	ibm		(IBM - mainframes only, I assume? PCM's too?)
	interdata	(Interdata 8/32 - now Perkin Elmer something?)
	lint		(UNIX's C syntax & semantics checker)
	m68k		(Motorola's System V port for the 68000)
	mc68000		(Fortune's 32:16 and various other 68000's)
	mert		(BTL's old microprocessor real-time system?)
	nomacarg	(Decus C - means it doesn't support #define args)
	os		(IBM's OS for System/360 and System/370)
	pdp11		(DEC PDP-11: BTL C for UNIX; Decus C for RSX and RT-11)
	PWB		(the UNIX/PWB programmer's workbench system)
	RES		(UNIX - research??????)
	rsx		(Decus C under the RSX operating system for PDP-11)
	RT		(the UNIX/RT real-time system?)
	sun		(SUN workstation?)
	TS		(the UNIX/TS timesharing system?)
	tss		(IBM's Time Sharing System?)
	unix		(the you-know-what operating system)
	u370		(UNIX on IBM 370's?)
	u3b		(UNIX on 3B series?)
	u3b5		(UNIX on 3B5?)
	vax		(DEC VAX (UNIX or VMS) - also some Unisoft 68000 ports!)
	vax11c		(DEC's VAX-11 C for VMS)
	vms		(DEC's VAX-11 C for VMS)

Other possibilities include:

	ccpm86		(Concurrent CP/M-86)
	cpm68k		(CP/M-68K)
	cpm80		(CP/M-80)
	cpm86		(CP/M-86)
	gnu		(Stallman's (sp?) GNU - GNU's Not UNIX)
	i8080		(Intel 8080-compatible: 8080, 8085, Z80)
	i8086		(Intel 8086 and 8088 processors)
	i80186		(Intel 80186 and friends)
	i80286		(Intel 80286 and friends)
	mpm		(Digital Research's MP/M)
	msdos		(Microsoft's MS-DOS operating system)
	pcdos		(IBM and/or Microsoft's PC-DOS operating system)
	xinu		(Purdue's XINU - XINU Is Not UNIX)
	z80		(Zilog Z80)
	z800		(Zilog Z800, if they ever ship any)
	z8000		(Zilog Z8000, if anyone still uses them)

Does anyone have any data on Coherent?  Idris?  Any MS-DOS C compilers?
Whitesmiths?  National 16032/32016/whatever?  Amdahl's UTS?  OS-9? S1?
Eunice?  Cray computers?  This table could certainly get a lot larger! :-)

				See ya!
-- 
				JR (John Rogers)
				...ihnp4!fortune!foros1!jr
				also fortune!jr and proper!jr



More information about the Comp.unix mailing list