From owner-freebsd-hackers Mon Jul 24 15:12:28 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from mta6.snfc21.pbi.net (mta6.snfc21.pbi.net [206.13.28.240]) by hub.freebsd.org (Postfix) with ESMTP id 3E41237BCF6 for ; Mon, 24 Jul 2000 15:12:24 -0700 (PDT) (envelope-from jazepeda@pacbell.net) Received: from ppp-207-214-149-126.snrf01.pacbell.net ([207.214.149.126]) by mta6.snfc21.pbi.net (Sun Internet Mail Server sims.3.5.2000.01.05.12.18.p9) with ESMTP id <0FY800EC42Q9TQ@mta6.snfc21.pbi.net> for hackers@freebsd.org; Mon, 24 Jul 2000 15:06:11 -0700 (PDT) Date: Mon, 24 Jul 2000 15:07:12 -0700 (PDT) From: Alex Zepeda Subject: Re: ELF rtld and environment variables... In-reply-to: <200007241606.JAA03633@vashon.polstra.com> X-Sender: alex@zippy.pacbell.net To: hackers@freebsd.org Message-id: MIME-version: 1.0 Content-type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mon, 24 Jul 2000, John Polstra wrote: > No, there isn't. I don't plan to do anything more with the a.out > dynamic linker, as I consider it obsolete at this point. I'd > suggest making a script "run_aout" that looks something like this > (untested): Uck. > BTW, it's generally not a good idea to set either of those environment > variables globally. You should only set them in scripts which run > specific executables that need them to be set. Besides the a.out > problem, they affect programs run under Linux emulation too. Yes, but this is intended to be used for all programs (not an awful idea IMO, questionable implementation, but what other alternatives are there?). It's designed to give the user feedback that an application has been started so one doesn't double click on an icon multiple times. 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? - alex To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message