Gentoo Archives: gentoo-osx

From: Grobian <grobian@g.o>
To: gentoo-osx@l.g.o
Subject: Re: [gentoo-osx] New document: Project targets
Date: Thu, 15 Dec 2005 07:28:15
Message-Id: 20051215072746.GP14948@gentoo.org
In Reply to: Re: [gentoo-osx] New document: Project targets by Marcin Gabrowski
1 On 15-12-2005 01:35:23 +0100, Marcin Gabrowski wrote:
2 > Hello,
3 >
4 > On 2005-12-15, at 00:42, Dirk Schönberger wrote:
5 >
6 > >>>The MacOSX file system hierarchy is a mix of two subsystems.
7 > >>I think that proper way is make variable PREFIX or ROOT gives
8 > >>as configuriable.
9 > >Problem is that one folder is not enough, because you still need
10 > >access to
11 > >the "classic" Unix hierarchy (/usr/bin, /bin, /sbin).
12 > >Perhaps you also want to use two or more prefixes.
13 > Hm.. but why? I'd use symlinks eg. /usr/bin/wc -> /opt/gentoo/bin/wc,
14 > what resolves those problems.
15
16 Or what about a Framework?
17
18 > >The question which executable to start begins to look like path
19 > >resolution
20 > >in a Unix shell, which I don'Ät really wan to implement
21 > >in a simple frontend script.
22
23 Is it really possible to find any executable without path resolution?
24 Only ./myapp doesn't require the shell to use the $PATH variable, but
25 does use the current (absolute) path ($CWD) in order to start the myapp
26 binary.
27
28 Using "#!/usr/bin/env perl" in a script instead of "#!/usr/bin/perl"
29 allows perl to be in any location in the path environment.
30
31
32 --
33 Fabian Groffen
34 Gentoo for Mac OS X Project -- Interim Lead
35
36 --
37 gentoo-osx@g.o mailing list

Replies

Subject Author
Re: [gentoo-osx] New document: Project targets "Dirk Schönberger" <dirk.schoenberger@×××××××××.de>