Return to BSD News archive
Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!bunyip.cc.uq.oz.au!munnari.oz.au!constellation!bubba.ucc.okstate.edu!news.ksu.ksu.edu!news.mid.net!trinews.sbc.com!newspump.wustl.edu!newsreader.wustl.edu!news.starnet.net!wupost!howland.reston.ans.net!pipex!peernews.demon.co.uk!demon!awfulhak.demon.co.uk!awfulhak.demon.co.uk!not-for-mail From: brian@awfulhak.demon.co.uk (Brian Somers) Newsgroups: comp.os.386bsd.bugs Subject: Re: FreeBSD porting questions. Date: 25 Jan 1995 00:48:50 -0000 Organization: None Lines: 13 Message-ID: <3g475i$3on@awfulhak.demon.co.uk> References: <3fh7id$an3@Mars.mcs.com> NNTP-Posting-Host: awfulhak.demon.co.uk X-Newsreader: TIN [version 1.2 PL2] Christopher Hilton (chilton@MCS.COM) wrote: : What's the #define symbol that the FreeBSD c compiler includes for : environment detections and what is it defined to? Is it __FreeBSD__ and is : defined to the version of the operating system? echo 'main(){return 0;}' >/tmp/x.c;cc -v x.c should give you what you want. -- Brian <brian@awfulhak.demon.co.uk> Don't _EVER_ lose your sense of humour....