Return to BSD News archive
Newsgroups: comp.os.386bsd.questions Path: sserve!newshost.anu.edu.au!munnari.oz.au!news.Hawaii.Edu!ames!elroy.jpl.nasa.gov!decwrl!netcomsv!netcom.com!pdh From: pdh@netcom.com (P D H) Subject: I need compile-time preprocessor symbols for 386BSD Message-ID: <pdhC7EItC.4Iy@netcom.com> Organization: NETCOM On-line Communication Services (408 241-9760 guest) Date: Sat, 22 May 1993 00:03:11 GMT Lines: 29 I could not find a similar question asked, so I need to ask it directly. I need to get a list of, and meanings for, pre-processor symbols used in the 386BSD platform. So far I have found two symbols used: __386BSD__ ___386BSD___ I would like to know if these are indeed official for the 386BSD system, and why, if appropriate, there are 2 such symbols. I would also like to know about any other special symbols that might need to be considered that apply to the 386BSD platform in some way. The purpose of these symbols is first to construct a complete list of what symbols will identify to C programms just what platform their code is being compiled for. Eventually I hope to construct a portability guide that describes what different things one needs to do in order to write code that can smoothly compile and run on as many different platforms as possible, while taking advantage of system level access and extended features where possible. In order to accomplish this I am trying to collect a complete understanding of how the major platforms are categorized and actually differ. I am not (yet) a 386BSD user so I will neither be running 386BSD nor reading this newsgroup by the time you could respond. My email address is pdh@netcom.com. Documents will show up in netcom.com:/pub/pdh when I make them available (anonymous ftp). Thanks.