*BSD News Article 5272


Return to BSD News archive

Path: sserve!manuel!munnari.oz.au!uunet!charon.amdahl.com!amdahl!JUTS!griffin!gab10
From: gab10@griffincd.amdahl.com (Gary A Browning)
Newsgroups: comp.unix.bsd
Subject: Re: 386bsd Predefines
Keywords: #define
Message-ID: <a5SL02N922xU01@JUTS.ccc.amdahl.com>
Date: 19 Sep 92 02:01:54 GMT
References: <1992Sep17.222113.24378@mnemosyne.cs.du.edu>
Sender: netnews@ccc.amdahl.com
Organization: Amdahl Corporation, Sunnyvale CA
Lines: 13

In article <1992Sep17.222113.24378@mnemosyne.cs.du.edu>,
jlwright@nyx.cs.du.edu (Jason Wright) writes:
> Is there a predefined macro in gcc strictly for 386bsd. Eg.
>    i386 for general Intel 386 Machines (this is too general though)

If you add '-v' to the 'gcc' command, it will show you the commands it
is using to compile your program.  On the invokation of 'cpp', you should
see the defines.

-- 
Gary Browning        | Exhilaration is that feeling you get just after a
		     | great idea hits you, and just before you realize
                     | what is wrong with it.