|
- Author:
- larsivi (IP: 80.202.217.169)
- Timestamp:
- 07/09/08 22:24:48 (16 years ago)
- Comment:
--
Legend:
- Unmodified
- Added
- Removed
- Modified
-
UnixPackaging
v1 |
v2 |
|
1 | | = *nix packaging = |
---|
| 1 | = Unix packaging = |
---|
2 | 2 | |
---|
3 | 3 | To make install tools and packages in the Tango sphere share as much common ground as possible, this is an attempt in standardizing how and where to install. Where applicable, we will use existing standards like the Filesystem Hierarch Standard (http://www.pathname.com/fhs/). |
---|
30 | 30 | === dmd-tango-devel === |
---|
31 | 31 | * /etc/dmd.conf |
---|
32 | | * /usr/lib/tango/* |
---|
| 32 | * /usr/include/d/tango/* |
---|
33 | 33 | * /usr/lib/libtango-base-dmd.a |
---|
34 | 34 | * /usr/lib/libtango-user-dmd.a |
---|
41 | 41 | === phobos aka tangobos === |
---|
42 | 42 | |
---|
43 | | Note that this document is mainly about Tango and the compilers, and Phobos will not be part of the packages downloaded from our pages. Thus we may not worry too much about Phobos as Phobos, but instead Tangobos, which then is just another user library. |
---|
| 43 | Note that this document is mainly about Tango and the compilers, and Phobos will not be part of the packages downloaded from our pages. Thus we may not worry too much about Phobos as Phobos, but instead Tangobos, which then is just another user library. Since the nature of Tangobos is such that it '''may''' conflict with minor parts of Tango, we want the inclusion to be explicit via an additional -I invocation. |
---|
44 | 44 | |
---|
45 | | * /usr/include/d |
---|
| 45 | * /usr/include/d/tangobos |
---|
46 | 46 | |
---|
47 | 47 | As it is though, the layout doesn't preclude Phobos from being installed, and the following paths should be used to avoid conflicts. |
---|
48 | 48 | |
---|
49 | | * /usr/lib/phobos/* |
---|
| 49 | * /usr/include/d/phobos/* |
---|
50 | 50 | * /usr/lib/libphobos.a |
---|
51 | 51 | |
---|
52 | 52 | or for D 2.0 Phobos |
---|
53 | 53 | |
---|
54 | | * /usr/lib/phobos2/* |
---|
| 54 | * /usr/include/d/phobos2/* |
---|
55 | 55 | * /usr/lib/libphobos2.a |
---|
56 | 56 | |
---|
61 | 61 | Both any needed -I and -L flags, to find the installation directory, and any versions/libs like: -fversion=Tango -fversion=Posix -lgtango |
---|
62 | 62 | |
---|
63 | | Another suggestion was to move the DMD imports to /usr/include/d, from their current /usr/lib position. (location pointed at with -I). This is also how installers and instructions in Tango has operated/stated in the past. |
---|
64 | | |
---|
65 | | But traditionally, base /usr/include/d was for user import modules and it were kept clean of standard compiler modules such as Phobos. |
---|
66 | | |
---|
67 | | By ''Lars Ivar'': I guess that is half the "problem", there is no standard-standard, just de-facto standard (if that). |
---|
| 63 | In the above, an install with Tangobos would require at least 3 -I invocations, one for Tango, one for Tangobos and one for the rest. Now, this sounds a bit silly, and this is not the way it is with current Tango downloads where Tango is installed at the root ( /usr/include/d or /usr/local/include/d) in the assumption that you didn't install Phobos in the same place. Of course, when Tango is in /usr/include/d/tango then Tangobos could be at the root /usr/include/d without causing conflicts, as long as Tango's -I switch appears first on the command line. |
|
|
|
|
|
Copyright © 2006-2024 Tango. All Rights Reserved. | Page Width:
Static or
Dynamic