From owner-freebsd-current Tue Sep 1 22:39:45 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id WAA15869 for freebsd-current-outgoing; Tue, 1 Sep 1998 22:39:45 -0700 (PDT) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from shire.domestic.de (kuebart.stuttgart.netsurf.de [194.233.216.182]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id WAA15840 for ; Tue, 1 Sep 1998 22:39:41 -0700 (PDT) (envelope-from joki@kuebart.stuttgart.netsurf.de) Received: from yacht.domestic.de (yacht.domestic.de [192.168.1.4]) by shire.domestic.de (8.8.8/8.8.7) with ESMTP id HAA17799; Wed, 2 Sep 1998 07:38:11 +0200 (CEST) (envelope-from joki@shire.domestic.de) From: Joachim Kuebart Received: (from joki@localhost) by yacht.domestic.de (8.9.1/8.8.7) id HAA01432; Wed, 2 Sep 1998 07:41:18 +0200 (CEST) (envelope-from joki@shire.domestic.de) Message-Id: <199809020541.HAA01432@yacht.domestic.de> Subject: Re: XFree86 and ELF In-Reply-To: <199809020407.XAA03682@detlev.UUCP> from Joel Ray Holveck at "Sep 1, 98 11:07:11 pm" To: joelh@gnu.org Date: Wed, 2 Sep 1998 07:41:18 +0200 (CEST) Cc: joki@kuebart.stuttgart.netsurf.de, joki@shire.domestic.de, galatalt@stuy.edu, dfr@nlsystems.com, freebsd-current@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL32 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Joel Ray Holveck wrote: > > This is due to the fact that I am unaware of a portable way to check > > if we're on an ELF system. Bear in mind it might be a prehistoric > > -stable version, so it isn't just a question of `objformat`. > > Am I confused? What's wrong with looking for #ifdef __ELF__ ? The files being discussed are processed by cpp. __ELF__ if set only when cpp is called from the compiler front end cc. cu Jo --------------------------------------------------------------------- FreeBSD: The Power to Serve Joachim Kuebart Tel: +49 711 653706 Oh god, god... My tongue is asleep and Germany my teeth itch. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message