From owner-freebsd-current Wed Sep 2 00:18:57 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id AAA02862 for freebsd-current-outgoing; Wed, 2 Sep 1998 00:18:57 -0700 (PDT) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from frmug.org (frmug-gw.frmug.org [193.56.58.252]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id AAA02852 for ; Wed, 2 Sep 1998 00:18:53 -0700 (PDT) (envelope-from roberto@keltia.freenix.fr) Received: (from uucp@localhost) by frmug.org (8.9.1/frmug-2.3/nospam) with UUCP id JAA10987 for freebsd-current@FreeBSD.ORG; Wed, 2 Sep 1998 09:17:50 +0200 (CEST) (envelope-from roberto@keltia.freenix.fr) Received: by keltia.freenix.fr (VMailer, from userid 101) id 354B5151A; Wed, 2 Sep 1998 09:12:47 +0200 (CEST) Date: Wed, 2 Sep 1998 09:12:47 +0200 From: Ollivier Robert To: freebsd-current@FreeBSD.ORG Subject: Re: XFree86 and ELF Message-ID: <19980902091247.A20608@keltia.freenix.fr> Mail-Followup-To: freebsd-current@FreeBSD.ORG References: <19980902004140.A17784@keltia.freenix.fr> <199809020556.HAA01498@yacht.domestic.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.94.4i In-Reply-To: <199809020556.HAA01498@yacht.domestic.de>; from Joachim Kuebart on Wed, Sep 02, 1998 at 07:56:01AM +0200 X-Operating-System: FreeBSD 3.0-CURRENT/ELF ctm#4606 AMD-K6 MMX @ 200 MHz Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG According to Joachim Kuebart: > > +#if !UseElfFormat > > #if OSMajorVersion > 2 || (OsMajorVersion == 2 && OSMinorVersion >= 2) > > #ifndef ExtraLoadFlags > > #define ExtraLoadFlags -Wl,-R,$(USRLIBDIRPATH) > > #endif > > #endif > > +#endif > > Are you sure this is correct? I included it in my new patches below. Yes because the ELF ld has no ``-R'' option. You need the -R only for aout (this is equivalent to "-rpath" in ELF). -- Ollivier ROBERT -=- FreeBSD: The Power to Serve! -=- roberto@keltia.freenix.fr FreeBSD keltia.freenix.fr 3.0-CURRENT #62: Mon Jul 27 20:47:08 CEST 1998 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message