From owner-freebsd-current Sun Sep 6 01:13:39 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id BAA19407 for freebsd-current-outgoing; Sun, 6 Sep 1998 01:13:39 -0700 (PDT) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from k6n1.znh.org (dialup4.gaffaneys.com [208.155.161.54]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id BAA19402 for ; Sun, 6 Sep 1998 01:13:35 -0700 (PDT) (envelope-from zach@gaffaneys.com) Received: (from zach@localhost) by k6n1.znh.org (8.9.1/8.9.1) id IAA24784; Sun, 6 Sep 1998 08:13:35 GMT (envelope-from zach) Message-ID: <19980906031335.A12693@znh.org> Date: Sun, 6 Sep 1998 03:13:35 -0500 From: Zach Heilig To: wwoods@cybcon.com, FreebSD Current Subject: Re: ELF References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.93.2i In-Reply-To: ; from William Woods on Sat, Sep 05, 1998 at 11:47:49PM -0700 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sat, Sep 05, 1998 at 11:47:49PM -0700, William Woods wrote: > Now that I have current running elf fine, I am slowly compiling the packages > and ports I have from aout to elf. I saw a few things earlier about Xfree, > but forgot to save em.....will Xfree compile elf ok? Until XFree makes changes (which will probably happen about the same time the ports tree is officially elf), these files need editing: Make sure you have ~300-350 Meg free $ make patch $ vi work/xc/config/cf/FreeBSD.cf (search for CppCmd and ExtraLoadFlags) /usr/libexec/cpp does not use -D__ELF__ by default (so add it) the -R option for 'ld' does different things for aout and elf. -rpath does what you want for elf (and you may want to append ,-rpath,/usr/local/lib as well) $ vi work/xc/programs/Xserver/hw/xfree86/os-support/assyntax.h $ vi work/xc/programs/Xserver/hw/xfree86/vga256/drivers/s3_svga/s3accel.c $ vi work/xc/programs/Xserver/hw/xfree86/xaa/xf86expblt.c (search for __ELF__, make sure FreeBSD does the elf option when __ELF__ is defined) $ make install I haven't had any problems with XFree being elf (except it hasn't been very long). -- Zach Heilig -- zach@gaffaneys.com Anyone who is capable of getting themselves made President should on no account be allowed to do the job. -- Douglas Adams, "The Hitchhiker's Guide to the Galaxy" To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message