From owner-freebsd-current@FreeBSD.ORG Sat Jun 14 09:43:02 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 515C937B401 for ; Sat, 14 Jun 2003 09:43:02 -0700 (PDT) Received: from carver.gumbysoft.com (carver.gumbysoft.com [66.220.23.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id E940343FA3 for ; Sat, 14 Jun 2003 09:43:01 -0700 (PDT) (envelope-from dwhite@gumbysoft.com) Received: by carver.gumbysoft.com (Postfix, from userid 1000) id DDC7572FE7; Sat, 14 Jun 2003 09:43:01 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by carver.gumbysoft.com (Postfix) with ESMTP id DC85672FE3; Sat, 14 Jun 2003 09:43:01 -0700 (PDT) Date: Sat, 14 Jun 2003 09:43:01 -0700 (PDT) From: Doug White To: Karl Denninger In-Reply-To: <20030614113234.A557@Denninger.Net> Message-ID: <20030614094129.W79103@carver.gumbysoft.com> References: <20030614113234.A557@Denninger.Net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-current@freebsd.org Subject: Re: Compiling under 5.x for 4.x releases? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 14 Jun 2003 16:43:02 -0000 On Sat, 14 Jun 2003, Karl Denninger wrote: > Can it be done with a command-line switch to the compiler or gcc, or am I > consigned to dual-booting? You mean building apps linked against 4.X libs vs. 5.X? With some creative -L flags you might be able to get it to not use /usr/lib/libc* and use /usr/lib/compat/libc* instead, which has copies of certain 4.X libs in it. Let us know if you get it working :) > I know the libraries are there for runtime, but can you build executables > for them? The executables are the exact same format. -- Doug White | FreeBSD: The Power to Serve dwhite@gumbysoft.com | www.FreeBSD.org