www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - some questions about the structure of phobos

reply ameer armaly <ameer charter.net> writes:
Hi all.
I've got a few questions about the makup of the linux version of phobos:
1.  How come it is a  library archive as apposed to a shared library like
libc and most others.
2.    How come the Makefile assumes ../dmd as it's dmd, but no such file
exists in the dmd distribution in that place, only in bin,  not src?
3.  Why aren't thestd files copied somewhere  like in a make install
target, and the linux version of dmd assuming a default search path like
gcc and others?
Most of these things can be easily done, but I was wondering if there
wasn't a good reason for them.
Thanks,



ameer
May 30 2004
parent And <And_member pathlink.com> writes:
In article <Pine.LNX.4.58.0405301510560.1253 debian>, ameer armaly says...
Hi all.
I've got a few questions about the makup of the linux version of phobos:
1.  How come it is a  library archive as apposed to a shared library like
libc and most others.
DMD can't generate object to generate shared libs. I think that should have a higher priority then Walter is giving it. I feel the linux version is the poor one. Which is perfectly understandable as there are many more users for the windows version. We have to be thankfull that the linux version exists at all. check the section Linux bugs at: http://www.digitalmars.com/d/dcompiler.html#linux
2.    How come the Makefile assumes ../dmd as it's dmd, but no such file
exists in the dmd distribution in that place, only in bin,  not src?
That's one of life's big misteries. Someone asked that before.
3.  Why aren't thestd files copied somewhere  like in a make install
target, and the linux version of dmd assuming a default search path like
gcc and others?
Most of these things can be easily done, but I was wondering if there
wasn't a good reason for them.
Thanks,
Check with Walter if those changes would be accepted before spending your time. Some offers on this news groups are simple ignored. Walter says he can't manage all those offers. Ant
Jun 01 2004