Date: Wed, 23 Sep 1998 17:50:47 +1000 (EST) From: John Birrell <jb@cimlogic.com.au> To: imp@village.org (Warner Losh) Cc: asami@FreeBSD.ORG, ports@FreeBSD.ORG, jdp@FreeBSD.ORG Subject: Re: SOCKS port inspires question... Message-ID: <199809230750.RAA04727@cimlogic.com.au> In-Reply-To: <199809230732.BAA18835@harmony.village.org> from Warner Losh at "Sep 23, 98 01:32:01 am"
next in thread | previous in thread | raw e-mail | index | archive | help
Warner Losh wrote: > In message <199809230726.AAA11574@silvia.hip.berkeley.edu> Satoshi > Asami writes: > : That is exactly what people mean by "compile time" (as opposed to, > : say, "run time"). If you meant "from inside the compiler", then I > : don't know of any. > > OK. I had hoped that you would say "Oh, yes, just check > __FreeBSD_MUMBLE_ELF__, which is always defined when you are building > elf executables"... If you want to test if the compiler is generating elf format, use #ifdef __ELF__. If you want a program to test at runtime if it should be doing elf or aout, call objformat() in libc if using 3.0-BETA or later. -- John Birrell - jb@cimlogic.com.au; jb@freebsd.org http://www.cimlogic.com.au/ CIMlogic Pty Ltd, GPO Box 117A, Melbourne Vic 3001, Australia +61 418 353 137 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199809230750.RAA04727>