Linux installation, even worse: search path for libphobos.a

BCS BCS_member at pathlink.com
Sun Apr 23 12:55:10 PDT 2006


I get around that with a set of aliases in my .profile. I aliased DMD with a -c
and the path to the Phobos and made up "dlnk" to call gcc with the needed stuff
(explicitly link in libphobos.a)


In article <e2fddh$1r1i$1 at digitaldaemon.com>, Norbert Nemec says...
>
>Just after complaining about dmd.conf, I noticed that libphobos.a is
>also expected in the fixed location: /usr/lib/libphobos.a
>
>I guess there is a way to configure this path (in dmd.conf?) which
>should definitely be described on the installation web-page.
>
>Currently, a user without root access is completely out of luck in
>trying out D on a Linux system.
>
>
>Norbert Nemec wrote:
>> Hi there,
>> 
>> playing with my DMD installation, I notice that the
>> D-installation-web-page gives the instruction to place dmd.conf in
>> /etc/dmd.conf
>> 
>> This is a real problem if you are not administrator yourself. The
>> compiler should fist look for a file in the home directory, (e.g.
>> ~/.dmd.conf) before falling back to the system-wide location /etc/dmd.conf.
>> 
>> In case a solution like this is already in place, it should be
>> documented in the installation page.
>> 
>> Greetings,
>> Norbert Nemec





More information about the Digitalmars-d mailing list