Path: utzoo!utgpu!watserv1!watmath!att!linac!pacific.mps.ohio-state.edu!zaphod.mps.ohio-state.edu!usc!cs.utexas.edu!uunet!mcsun!i2unix!ctr!nicb From: nicb@ctr@italy.eu.net (Nicola Bernardini) Newsgroups: comp.sources.d Subject: Re: Comments on ABC problems by the authors Message-ID: <1991Jan08.140518.13060@ctr@italy.eu.net> Date: 8 Jan 91 14:05:18 GMT References: <2747@charon.cwi.nl> <13368@vpk4.UUCP> Reply-To: nicb@ctr.UUCP (Nicola Bernardini) Organization: Centro Tempo Reale, Firenze Lines: 50 In article <13368@vpk4.UUCP> craig@vpk4.ATT.COM (Craig Campbell) writes: >In article <2747@charon.cwi.nl> timo@cwi.nl (Timo Krijnen) writes: > >>2) Setup and Unixes. >>Setup tries to find out what type of Unix you are running. After it >>was written (years ago:-) most unixes got "enhanced". Some >>SystemV-look-alikes added BSD-isms and vice versa. We have a new >>version which no longer uses SIGCLD and SIGCHLD, but instead tries to > > ... etc., etc. > >Timo, there is what might be considered a better way to determine what type of >system a given package is being compiled on. That is, the reserved defined >symbols in cpp(1). For example: > >System Symbols Defined By cpp(1) > >AT&T 3B2 unix u3b2 >AT&T 3B5 unix u3b5 >AT&T 6386 unix i386 >AT&T 6486 unix i386 (Oh well, it's still in CI) > >etc.... > >I beleive most (hopefully all) vendors have defines for their unique >systems in their cpp(1) program. I do not have available other vendors >systems at this time, however, so I cannot verify that or list the defines. >Perhaps other netters could fill you in about these. > >If these defines are used to select Berkley/Sys V then hopefully, checking >include files, which may change, will be unnecessary. I think there is also a standard coming up for manifest defines, is'nt it? things like M_I386 on a 386 and so on. (A lot of header files tend to want a little bit of everything, like i386, M_I386, SYS_V, SYSV, etc.) ------------------------------------------ Nicola Bernardini - nicb%ctr@italy.eu.net Centro Tempo Reale Villa Strozzi Via Pisana, 77 50143 Firenze I T A L I A Tel. ++3955/702444 Fax. ++3955/717712 -- ------------------------------------------ Nicola Bernardini - nicb%ctr@italy.eu.net Centro Tempo Reale Villa Strozzi