Re: Compiling under 5.x for 4.x releases?

From: Doug White <dwhite_at_gumbysoft.com>
Date: Sat, 14 Jun 2003 09:43:01 -0700 (PDT)
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_at_gumbysoft.com          |  www.FreeBSD.org
Received on Sat Jun 14 2003 - 07:43:02 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:11 UTC