digitalmars.D - Bikeshedding fun: suggest a name for 64 bit Phobos library
- Walter Bright (4/4) Sep 05 2010 We already have:
- Brad Roberts (14/20) Sep 05 2010 No change in name, change in directory holding it.
- =?ISO-8859-1?Q?Anders_F_Bj=F6rklund?= (7/20) Sep 05 2010 Or even no change at all, like a multilib OS does:
- Jacob Carlborg (6/26) Sep 06 2010 Tango can be built as a dynamic library on Mac OS X since a while, just
- =?ISO-8859-1?Q?Anders_F_Bj=F6rklund?= (5/12) Sep 06 2010 Sure, gphobos can also be built dynamically and as 64-bit.
- KennyTM~ (2/6) Sep 05 2010 There is no need to change the name on Mac OS X because of fat binary.
- Stanislav Blinov (4/10) Sep 06 2010 I'd agree that yet another name is not needed, but just for fun - you
- Simen kjaeraas (12/20) Sep 06 2010 We should have chosen a planet with more moons, to be forward-compatible
- Simen kjaeraas (5/25) Sep 06 2010 Oh, and for the actual posed question - I think lib64/libphobos2.a is th...
- klickverbot (6/6) Sep 06 2010 Please, please just call it libphobos2.a on Linux and move it to the
We already have: libphobos.a Phobos 1, 32 bit libphobos2.a Phobos 2, 32 bit What should the 64 bit Phobos be named?
Sep 05 2010
On 9/5/2010 9:39 PM, Walter Bright wrote:We already have: libphobos.a Phobos 1, 32 bit libphobos2.a Phobos 2, 32 bit What should the 64 bit Phobos be named?No change in name, change in directory holding it. ie.. lib64/libphobos* That's what most major distributions do. For example: # a 64 bit linux box $ ls -ld /lib* drwxr-xr-x 11 root root 12288 Jul 23 17:36 /lib drwxr-xr-x 2 root root 4096 May 30 13:06 /lib32 lrwxrwxrwx 1 root root 4 Jan 23 2009 /lib64 -> /lib # a 32 bit linux box $ ls -ld /lib* drwxr-xr-x 21 root root 12288 2010-08-17 16:03 /lib drwxr-xr-x 2 root root 4096 2010-08-17 16:02 /lib64
Sep 05 2010
Brad Roberts wrote:On 9/5/2010 9:39 PM, Walter Bright wrote:Or even no change at all, like a multilib OS does: "Architectures in the fat file: /usr/lib/libgphobos.a are: ppc ppc64 i386 x86_64" But since it's just a static library (still, right?) it's more a question of directories and -L-L DFLAGS --andersWe already have: libphobos.a Phobos 1, 32 bit libphobos2.a Phobos 2, 32 bit What should the 64 bit Phobos be named?No change in name, change in directory holding it. ie.. lib64/libphobos* That's what most major distributions do.
Sep 05 2010
On 2010-09-06 08:24, Anders F Björklund wrote:Brad Roberts wrote:Tango can be built as a dynamic library on Mac OS X since a while, just waiting for Sean to apply the rest of the patch for druntime (half of the patch is already applied by Walter). -- /Jacob CarlborgOn 9/5/2010 9:39 PM, Walter Bright wrote:Or even no change at all, like a multilib OS does: "Architectures in the fat file: /usr/lib/libgphobos.a are: ppc ppc64 i386 x86_64" But since it's just a static library (still, right?) it's more a question of directories and -L-L DFLAGS --andersWe already have: libphobos.a Phobos 1, 32 bit libphobos2.a Phobos 2, 32 bit What should the 64 bit Phobos be named?No change in name, change in directory holding it. ie.. lib64/libphobos* That's what most major distributions do.
Sep 06 2010
Jacob Carlborg wrote:Sure, gphobos can also be built dynamically and as 64-bit. But I meant that the name doesn't matter for a static lib. For the shared library, all kinds of fun ABI issues apply. --andersBut since it's just a static library (still, right?) it's more a question of directories and -L-L DFLAGSTango can be built as a dynamic library on Mac OS X since a while, just waiting for Sean to apply the rest of the patch for druntime (half of the patch is already applied by Walter).
Sep 06 2010
On Sep 6, 10 12:39, Walter Bright wrote:We already have: libphobos.a Phobos 1, 32 bit libphobos2.a Phobos 2, 32 bit What should the 64 bit Phobos be named?There is no need to change the name on Mac OS X because of fat binary.
Sep 05 2010
Walter Bright wrote:We already have: libphobos.a Phobos 1, 32 bit libphobos2.a Phobos 2, 32 bit What should the 64 bit Phobos be named?I'd agree that yet another name is not needed, but just for fun - you have another moon :) That name would fully reflect feelings of people facing D anew when they look at things like std.algorithm or std.range :)
Sep 06 2010
On Mon, 06 Sep 2010 09:55:42 +0200, Stanislav Blinov <stanislav.blinov gmail.com> wrote:Walter Bright wrote:We should have chosen a planet with more moons, to be forward-compatible - for what happens when D3 (or 128-bit, to stay more on topic) arrives? There was a Deimos project for D already, available on http://dsource.org/projects/deimos. It is however abandoned, so one could conceivably take their name. Now, the main problem is that we are currently talking only about what the 64-bit version of the library should be called, and calling that Deimos and the 32-bit Phobos is bound to confuse people. -- SimenWe already have: libphobos.a Phobos 1, 32 bit libphobos2.a Phobos 2, 32 bit What should the 64 bit Phobos be named?I'd agree that yet another name is not needed, but just for fun - you have another moon :) That name would fully reflect feelings of people facing D anew when they look at things like std.algorithm or std.range :)
Sep 06 2010
Simen kjaeraas <simen.kjaras gmail.com> wrote:On Mon, 06 Sep 2010 09:55:42 +0200, Stanislav Blinov <stanislav.blinov gmail.com> wrote:Oh, and for the actual posed question - I think lib64/libphobos2.a is the best. -- SimenWalter Bright wrote:We should have chosen a planet with more moons, to be forward-compatible - for what happens when D3 (or 128-bit, to stay more on topic) arrives? There was a Deimos project for D already, available on http://dsource.org/projects/deimos. It is however abandoned, so one could conceivably take their name. Now, the main problem is that we are currently talking only about what the 64-bit version of the library should be called, and calling that Deimos and the 32-bit Phobos is bound to confuse people.We already have: libphobos.a Phobos 1, 32 bit libphobos2.a Phobos 2, 32 bit What should the 64 bit Phobos be named?I'd agree that yet another name is not needed, but just for fun - you have another moon :) That name would fully reflect feelings of people facing D anew when they look at things like std.algorithm or std.range :)
Sep 06 2010
Please, please just call it libphobos2.a on Linux and move it to the 64bit library directory. On OS X, one might want to build it as universal binary, so no special casing needed there either. On Windows it is installed to the DMD directory anyway, so this is probably no issue either (3d-bit-dmd/lib = 32 bit Phobos, 64-bit-dmd/lib = 64 bit Phobos), but I am no Windows guy.
Sep 06 2010