Date: Wed, 27 Jan 1999 19:07:19 +0200 From: Ruslan Ermilov <ru@ucb.crimea.ua> To: Steve Price <sprice@hiwaay.net> Cc: FreeBSD Hackers <hackers@FreeBSD.ORG> Subject: Re: #define question Message-ID: <19990127190719.A8664@ucb.crimea.ua> In-Reply-To: <Pine.OSF.4.02.9901271036270.4958-100000@fly.HiWAAY.net>; from Steve Price on Wed, Jan 27, 1999 at 10:51:29AM -0600 References: <XFMail.990127161951.asmodai@wxs.nl> <Pine.OSF.4.02.9901271036270.4958-100000@fly.HiWAAY.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Jan 27, 1999 at 10:51:29AM -0600, Steve Price wrote: > > I know this will seem a little simple-minded but it has come > in handy a number of times. > > bsd[~]$ (touch $$.c ; gcc -dM -E $$.c ; rm $$.c) > #define __FreeBSD__ 3 > #define __FreeBSD_cc_version 300001 > #define __i386__ 1 > #define __i386 1 > #define __GNUC_MINOR__ 7 > #define i386 1 > #define __unix 1 > #define __unix__ 1 > #define __GNUC__ 2 > #define __ELF__ 1 > #define unix 1 > bsd[~]$ Perfect! Maybe you know, why `-E -dD' doesn't work? -- Ruslan Ermilov Sysadmin and DBA of the ru@ucb.crimea.ua United Commercial Bank +380.652.247.647 Simferopol, Ukraine http://www.FreeBSD.org The Power To Serve http://www.oracle.com Enabling The Information Age To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990127190719.A8664>