Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Jul 2000 18:23:22 -0700 (PDT)
From:      John Polstra <jdp@polstra.com>
To:        hackers@freebsd.org
Cc:        jazepeda@pacbell.net
Subject:   Re: ELF rtld and environment variables...
Message-ID:  <200007250123.SAA04929@vashon.polstra.com>
In-Reply-To: <Pine.BSF.4.21.0007241504520.211-100000@zippy.pacbell.net>
References:  <Pine.BSF.4.21.0007241504520.211-100000@zippy.pacbell.net>

next in thread | previous in thread | raw e-mail | index | archive | help
In article <Pine.BSF.4.21.0007241504520.211-100000@zippy.pacbell.net>,
Alex Zepeda  <jazepeda@pacbell.net> wrote:
> 
> Uck.

Glad you liked the idea! :-)

> I'm curious, why do a.out/FreeBSD-elf/Linux-elf programs all respond to
> the same variables?  Sure it's perhaps a consistant interface, but
> wouldn't somthing like LINUX_LD_LIBRARY_PATH and/or AOUT_LD_LIBRARY_PATH
> make more sense?

Well, there is a different reason for each of the dynamic linkers.

    FreeBSD ELF:  It's required by the ELF specification.

    FreeBSD a.out: Backward compatibility.

    Linux ELF: Because it's part of Linux and that's just what it does.

John
-- 
  John Polstra                                               jdp@polstra.com
  John D. Polstra & Co., Inc.                        Seattle, Washington USA
  "Disappointment is a good sign of basic intelligence."  -- Chögyam Trungpa



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200007250123.SAA04929>